git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5002555
)
Quieten compiler warning.
author
Tim Potter
<tpot@samba.org>
Mon, 24 Feb 2003 04:59:15 +0000
(
04:59
+0000)
committer
Tim Potter
<tpot@samba.org>
Mon, 24 Feb 2003 04:59:15 +0000
(
04:59
+0000)
source/python/py_tdbpack.c
patch
|
blob
|
history
diff --git
a/source/python/py_tdbpack.c
b/source/python/py_tdbpack.c
index 243cb4468333475733a05de97315994bb3cc9d16..f0718b717ed8c7e7267423a2e7e915ac2f9aaf38 100644
(file)
--- a/
source/python/py_tdbpack.c
+++ b/
source/python/py_tdbpack.c
@@
-25,6
+25,13
@@
#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. */