diff options
author | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 16:05:14 -0700 |
---|---|---|
committer | Dwayne Litzenberger <dlitz@dlitz.net> | 2013-07-14 19:12:44 -0700 |
commit | 1418e318180f651de1c4b08468b75ca719d703ba (patch) | |
tree | a1e4942a80ffd5ec080cba47e001a4603e7e6966 /src/pycrypto_compat.h | |
parent | 842b5151217b90cbf2440adf4d3d08d0a23d084c (diff) | |
download | pycrypto-1418e318180f651de1c4b08468b75ca719d703ba.tar.gz |
whitespace
Diffstat (limited to 'src/pycrypto_compat.h')
-rw-r--r-- | src/pycrypto_compat.h | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/src/pycrypto_compat.h b/src/pycrypto_compat.h index eaaebdb..6ae31dd 100644 --- a/src/pycrypto_compat.h +++ b/src/pycrypto_compat.h @@ -28,20 +28,20 @@ /* * Python 3.x defines, for conditional compiles */ - + #if PY_MAJOR_VERSION >= 3 -#define IS_PY3K +# define IS_PY3K #else -#define PyBytes_GET_SIZE PyString_GET_SIZE -#define PyBytes_FromStringAndSize PyString_FromStringAndSize -#define PyBytes_AS_STRING PyString_AS_STRING -#define PyBytes_Check PyString_Check -#define PyBytes_Size PyString_Size -#define PyBytes_AsString PyString_AsString -#define PyBytesObject PyStringObject -#if PY_MINOR_VERSION <= 5 /* PyUnicode_FromString exists from Python 2.6 on up */ -#define PyUnicode_FromString PyString_FromString -#endif +# define PyBytes_GET_SIZE PyString_GET_SIZE +# define PyBytes_FromStringAndSize PyString_FromStringAndSize +# define PyBytes_AS_STRING PyString_AS_STRING +# define PyBytes_Check PyString_Check +# define PyBytes_Size PyString_Size +# define PyBytes_AsString PyString_AsString +# define PyBytesObject PyStringObject +# if PY_MINOR_VERSION <= 5 /* PyUnicode_FromString exists from Python 2.6 on up */ +# define PyUnicode_FromString PyString_FromString +# endif #endif /* |