From f5394078d974a938c6e619ec6f2d565c028d6cf1 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 25 Feb 2003 23:46:51 +0000 Subject: Merge: fix compiler warning. (This used to be commit 55ee43cfb8b3ffb99c50d987f07a96fe79a0fe92) --- source3/python/py_tdbpack.c | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'source3/python') diff --git a/source3/python/py_tdbpack.c b/source3/python/py_tdbpack.c index 243cb44683..f0718b717e 100644 --- a/source3/python/py_tdbpack.c +++ b/source3/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. */ -- cgit