Update of /cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/include
In directory 
sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv7075/src/sqlhelpers/xmlshred/include

Modified Files:
        shred_helper.h 
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: shred_helper.h
===================================================================
RCS file: 
/cvsroot/monetdb/pathfinder/src/sqlhelpers/xmlshred/include/shred_helper.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -d -r1.15 -r1.16
--- shred_helper.h      26 Nov 2007 20:38:49 -0000      1.15
+++ shred_helper.h      2 Jan 2008 14:20:47 -0000       1.16
@@ -66,6 +66,10 @@
 #if !HAVE_DECL_STRDUP
 extern char *strdup(const char *);
 #endif
+
+#ifdef NATIVE_WIN32
+#define strdup _strdup
+#endif
 #endif
 
 #ifndef HAVE_STRNDUP


-------------------------------------------------------------------------
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