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
commit42c4d107ddbada235f9845a44b307ef5ef5060b4 (patch)
tree789cc556de9ec26b5f6f3a537bff6bc46b315fb9 /idlc
parente83937efc54f5ce6a310a7a9a390c45e9064e098 (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 3ad168eacb97..eeb2f1b70f05 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