Changeset: aff03752c064 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=aff03752c064
Modified Files:
        NT/monetdb_config.h.in
Branch: Apr2011
Log Message:

Undef stat and fstat before defining since it conflicts with Perl.


diffs (17 lines):

diff --git a/NT/monetdb_config.h.in b/NT/monetdb_config.h.in
--- a/NT/monetdb_config.h.in
+++ b/NT/monetdb_config.h.in
@@ -645,7 +645,13 @@
 
 #include <sys/stat.h>
 #define lstat _stat64
+#ifdef stat
+#undef stat
+#endif
 #define stat _stat64
+#ifdef fstat
+#undef fstat
+#endif
 #define fstat _fstat64
 #ifndef S_ISREG        /* swig-generated source file doesn't include us first 
*/
 #define S_ISREG(mode)  (((mode) & _S_IFMT) == _S_IFREG)
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list

Reply via email to