Update of /cvsroot/monetdb/pathfinder/compiler/utils
In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7075/compiler/utils

Modified Files:
        string_utils.c 
Log Message:
Squash some compiler warnings.

Note the hack defining LIBPF_SUPPORT if LIBPF is defined.
This is because the functions defined in libpf (ll_staircasejoin.mx
and others) are declared in pf_support.proto.h which uses the
LIBPF_SUPPORT macro to distinguish between import and export of the
functions.


Index: string_utils.c
===================================================================
RCS file: /cvsroot/monetdb/pathfinder/compiler/utils/string_utils.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- string_utils.c      5 Nov 2007 16:02:08 -0000       1.2
+++ string_utils.c      2 Jan 2008 14:20:46 -0000       1.3
@@ -42,6 +42,10 @@
 #include <stdarg.h>
 #include <ctype.h>
 
+#ifdef NATIVE_WIN32
+#define strdup _strdup
+#endif
+
 typedef unsigned char byte;
 
 /****************************************************


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Monetdb-pf-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/monetdb-pf-checkins

Reply via email to