tweak for win python bug

This commit is contained in:
Marcos Pinto 2007-09-08 18:47:31 +00:00
parent a91c00c247
commit 1b6a8925eb
1 changed files with 5 additions and 1 deletions

View File

@ -37,7 +37,11 @@
// //
//----------------- //-----------------
#include <Python.h> #include <Python.h>
#if defined(_WIN32)
# if defined(socklen_t)
# undef socklen_t
# endif
#endif
#include <boost/filesystem/exception.hpp> #include <boost/filesystem/exception.hpp>
#include <boost/filesystem/operations.hpp> #include <boost/filesystem/operations.hpp>
#include <boost/date_time/posix_time/posix_time.hpp> #include <boost/date_time/posix_time/posix_time.hpp>