Fixes for MacOSX
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user