Author: tpot Date: 2004-09-04 23:04:31 +0000 (Sat, 04 Sep 2004) New Revision: 2227
WebSVN: http://websvn.samba.org/websvn/changeset.php?rep=samba&path=/branches/SAMBA_4_0/source/scripting/swig&rev=2227&nolog=1 Log: Get rid of annoying compiler warning. Modified: branches/SAMBA_4_0/source/scripting/swig/tdb.i Changeset: Modified: branches/SAMBA_4_0/source/scripting/swig/tdb.i =================================================================== --- branches/SAMBA_4_0/source/scripting/swig/tdb.i 2004-09-04 22:55:33 UTC (rev 2226) +++ branches/SAMBA_4_0/source/scripting/swig/tdb.i 2004-09-04 23:04:31 UTC (rev 2227) @@ -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 @@ %} + /* The tdb functions will crash if a NULL tdb is passed */ %include exception.i