Fixes for MacOSX

This commit is contained in:
wmayer
2012-10-26 12:59:43 +02:00
parent 60cd7ee95b
commit 99b6a0c4c3
4 changed files with 38 additions and 1 deletions

View File

@@ -40,6 +40,15 @@
#endif
#include <Python.h>
#ifdef FC_OS_MACOSX
#undef toupper
#undef tolower
#undef isupper
#undef islower
#undef isspace
#undef isalpha
#undef isalnum
#endif
namespace Base
{

View File

@@ -35,7 +35,16 @@
// needed header
#undef slots
# include <Python.h>
#include <Python.h>
#ifdef FC_OS_MACOSX
#undef toupper
#undef tolower
#undef isupper
#undef islower
#undef isspace
#undef isalpha
#undef isalnum
#endif
#define slots
#include <iostream>
#include <bitset>