From 6fa6b607c9f97dca9850e2d5c5dc175497fbebd8 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 24 Feb 2003 04:59:15 +0000 Subject: [PATCH] Quieten compiler warning. (This used to be commit eb5d1a72dc9dc35997d39f8778ee98163b8cce32) --- source3/python/py_tdbpack.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source3/python/py_tdbpack.c b/source3/python/py_tdbpack.c index 243cb446833..f0718b717ed 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. */ -- 2.11.4.GIT