diff --git a/include/boost/python/detail/python22_fixed.h b/include/boost/python/detail/python22_fixed.h index 74ba44e4..e236c2b0 100644 --- a/include/boost/python/detail/python22_fixed.h +++ b/include/boost/python/detail/python22_fixed.h @@ -18,7 +18,7 @@ /* Enable compiler features; switching on C lib defines doesn't work here, because the symbols haven't necessarily been defined yet. */ #ifndef _GNU_SOURCE -# define _GNU_SOURCE 1 +# define _GNU_SOURCE 1 #endif /* Forcing SUSv2 compatibility still produces problems on some @@ -26,7 +26,7 @@ define is switched off. */ #if 0 #ifndef _XOPEN_SOURCE -# define _XOPEN_SOURCE 500 +# define _XOPEN_SOURCE 500 #endif #endif @@ -40,10 +40,10 @@ #endif /* pyconfig.h may or may not define DL_IMPORT */ -#ifndef DL_IMPORT /* declarations for DLL import/export */ +#ifndef DL_IMPORT /* declarations for DLL import/export */ #define DL_IMPORT(RTYPE) RTYPE #endif -#ifndef DL_EXPORT /* declarations for DLL import/export */ +#ifndef DL_EXPORT /* declarations for DLL import/export */ #define DL_EXPORT(RTYPE) RTYPE #endif @@ -124,15 +124,15 @@ extern "C" { // Boost.Python modification: provide missing extern "C" #include "abstract.h" -#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a)) -#define PyArg_NoArgs(v) PyArg_Parse(v, "") +#define PyArg_GetInt(v, a) PyArg_Parse((v), "i", (a)) +#define PyArg_NoArgs(v) PyArg_Parse(v, "") /* Convert a possibly signed character to a nonnegative int */ /* XXX This assumes characters are 8 bits wide */ #ifdef __CHAR_UNSIGNED__ -#define Py_CHARMASK(c) (c) +#define Py_CHARMASK(c) (c) #else -#define Py_CHARMASK(c) ((c) & 0xff) +#define Py_CHARMASK(c) ((c) & 0xff) #endif #include "pyfpe.h"