Vegastrike 0.5.1 rc1  1.0
Original sources for Vegastrike Evolved
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
cs_boostpythonclass.h
Go to the documentation of this file.
1 #ifndef __CS_BOOSTPYTHONCLASS_H__
2 #define __CS_BOOSTPYTHONCLASS_H__
3 
4 // *** This file added by chuck_starchaser (dan_w) ***
5 // Purpose is to get rid of redefinition warnings issuing
6 // from boost/python/class.hpp when /usr/include/python2.4/pyconfig.h
7 // has been included already (by #including <Python.h>.
8 // Files that had #include <boost/python/class.hpp> now have
9 // #include "cs_boostpythonclass.h", which undefines the troublesome
10 // symbols and then #includes <boost/python/class.hpp>.
11 
12 #ifndef CLASS_DWA200216_HPP
13 
14 #ifdef _XOPEN_SOURCE
15 #undef _XOPEN_SOURCE
16 #endif
17 
18 #ifdef _POSIX_C_SOURCE
19 #undef _POSIX_C_SOURCE
20 #endif
21 
22 #include <boost/python/class.hpp>
23 
24 #endif
25 
26 #endif
27