PyCXX: [skip ci] harmonize whitespaces with upstream

This commit is contained in:
wmayer
2022-08-01 12:36:07 +02:00
parent fd6dc844be
commit a45a787b4e
11 changed files with 95 additions and 117 deletions

View File

@@ -56,18 +56,9 @@
// pull in python definitions
#include <Python.h>
#ifdef FC_OS_MACOSX
#undef toupper
#undef tolower
#undef isupper
#undef islower
#undef isspace
#undef isalpha
#undef isalnum
#endif
// fix issue with Python assuming that isspace, toupper etc are macros
#if defined(isspace)
#if defined(isspace) || defined(FC_OS_MACOSX)
#undef isspace
#undef isupper
#undef islower