Changeset: 89f244fea781 for MonetDB
URL: http://dev.monetdb.org/hg/MonetDB?cmd=changeset;node=89f244fea781
Modified Files:
NT/monetdb_config.h.in
Branch: Apr2011
Log Message:
Prevent macro redefinition in swig generated code.
diffs (13 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
@@ -644,7 +644,9 @@
#define LOCALSTATEDIR PREFIX "\\var"
#define lstat stat
+#ifndef S_ISREG /* swig-generated source file doesn't include us first
*/
#define S_ISREG(mode) (((mode) & _S_IFMT) == _S_IFREG)
+#endif
/* Define to the sub-directory in which libtool stores uninstalled libraries.
*/
_______________________________________________
Checkin-list mailing list
[email protected]
http://mail.monetdb.org/mailman/listinfo/checkin-list