1 #if !defined ( _PYTHONCONSOLE_H )
2 #define _PYTHONCONSOLE_H
4 // ========================================================
5 // set dllexport type for Win platform
8 #ifdef PYTHONCONSOLE_EXPORTS
9 #define PYCONSOLE_EXPORT __declspec(dllexport)
11 #define PYCONSOLE_EXPORT __declspec(dllimport)
16 #define PYCONSOLE_EXPORT
20 // ========================================================
21 // little trick - we do not have debug python libraries
34 // ========================================================
35 // avoid warning messages
37 #pragma warning (disable : 4786)
38 #pragma warning (disable : 4251)
41 #endif // _PYTHONCONSOLE_H