diff options
author | Tim Potter <tpot@samba.org> | 2004-09-04 23:04:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 12:58:33 -0500 |
commit | 5230295b6b927649cb304790f781fdff18fc162d (patch) | |
tree | 1728dabc4d2d0f91ffd952d074765270703ee9ee /source4/scripting/swig | |
parent | b575ce6b4b09db7b8ea6b25cdee4364df8511b94 (diff) | |
download | samba-5230295b6b927649cb304790f781fdff18fc162d.tar.gz samba-5230295b6b927649cb304790f781fdff18fc162d.tar.bz2 samba-5230295b6b927649cb304790f781fdff18fc162d.zip |
r2227: Get rid of annoying compiler warning.
(This used to be commit 64f961f039545c9948eb7d7652b7494be2443174)
Diffstat (limited to 'source4/scripting/swig')
-rw-r--r-- | source4/scripting/swig/tdb.i | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source4/scripting/swig/tdb.i b/source4/scripting/swig/tdb.i index f4a3f53c4b..0c756765de 100644 --- a/source4/scripting/swig/tdb.i +++ b/source4/scripting/swig/tdb.i @@ -28,6 +28,13 @@ %{ +/* This symbol is used in both includes.h and Python.h which causes an + annoying compiler warning. */ + +#ifdef HAVE_FSTAT +#undef HAVE_FSTAT +#endif + /* The tdb_set_lock_alarm() function requires the SIG_ATOMIC_T function from includes.h */ @@ -44,6 +51,7 @@ typedef int SIG_ATOMIC_T; %} + /* The tdb functions will crash if a NULL tdb is passed */ %include exception.i |