Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
Main Page
Related Pages
Modules
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
cs_python.h
Go to the documentation of this file.
1
#ifndef __CS_PYTHON_H__
2
#define __CS_PYTHON_H__
3
4
// *** This file added by chuck_starchaser (dan_w) ***
5
// Purpose is to get rid of redefinition warnings issuing
6
// from /usr/include/python2.4/pyconfig.h when
7
// boost/python has been included already
8
// Files that had #include <Python.h> now have #include "cs_python.h"
9
// which undefines the troublesome symbols and then includes Python.h
10
11
#ifndef Py_PYTHON_H
12
13
#ifdef _XOPEN_SOURCE
14
#undef _XOPEN_SOURCE
15
#endif
16
17
#ifdef _POSIX_C_SOURCE
18
#undef _POSIX_C_SOURCE
19
#endif
20
21
#ifdef __GNUC__
22
#pragma GCC diagnostic ignored "-Wwrite-strings"
23
#endif
24
#include <Python.h>
25
#ifdef __GNUC__
26
#pragma GCC diagnostic error "-Wwrite-strings"
27
#endif
28
29
#endif
30
31
#endif
32
src
cs_python.h
Generated on Fri May 29 2015 23:07:20 for Vegastrike 0.5.1 rc1 by
1.8.4