Quieten compiler warning.
authorTim Potter <tpot@samba.org>
Mon, 24 Feb 2003 04:59:15 +0000 (04:59 +0000)
committerTim Potter <tpot@samba.org>
Mon, 24 Feb 2003 04:59:15 +0000 (04:59 +0000)
source/python/py_tdbpack.c

index 243cb4468333475733a05de97315994bb3cc9d16..f0718b717ed8c7e7267423a2e7e915ac2f9aaf38 100644 (file)
 
 #include "Python.h"
 
+/* This symbol is used in both config.h and Python.h which causes an
+   annoying compiler warning. */
+
+#ifdef HAVE_FSTAT
+#undef HAVE_FSTAT
+#endif
+
 /* This module is supposed to be standalone, however for portability
    it would be good to use the FUNCTION_MACRO preprocessor define. */