summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
authorOliver Bolte <obo@openoffice.org>2002-10-29 11:54:35 +0000
committerOliver Bolte <obo@openoffice.org>2002-10-29 11:54:35 +0000
commit8ed006939f2ef212b4816cef020da71319851930 (patch)
treeacc24fbf7c32eda0f1ef233821684ee4f52e2517 /idlc
parente35ae1b40b4b9114b62655ffc2e22ad05ad7f7b8 (diff)
change for wntmsci8 (msvc7.net) compiler
Diffstat (limited to 'idlc')
-rw-r--r--idlc/source/parser.y9
1 files changed, 7 insertions, 2 deletions
diff --git a/idlc/source/parser.y b/idlc/source/parser.y
index 3ad168eac..eeb2f1b70 100644
--- a/idlc/source/parser.y
+++ b/idlc/source/parser.y
@@ -2,9 +2,9 @@
*
* $RCSfile: parser.y,v $
*
- * $Revision: 1.1 $
+ * $Revision: 1.2 $
*
- * last change: $Author: hjs $ $Date: 2002-07-10 09:43:18 $
+ * last change: $Author: obo $ $Date: 2002-10-29 12:54:35 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -144,6 +144,10 @@ int fprintf(FILE* stream, const char* format, ...)
return res;
}
+/*
+ Following code not for msvc7.net compiler
+*/
+#ifndef M1300
void* malloc( size_t size )
{
return ::malloc(size);
@@ -153,6 +157,7 @@ void free( void *memblock )
{
::free(memblock);
}
+#endif
};
#endif