From: Andrew Bartlett Date: Thu, 6 Jun 2019 03:46:27 +0000 (+0200) Subject: py3: Remove unused IS_PY3 macro from py3compat.h X-Git-Tag: ldb-2.0.5~438 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6a8c7adc5a454154904aa3b0fe52aef0b78ab7d6;p=thirdparty%2Fsamba.git py3: Remove unused IS_PY3 macro from py3compat.h Signed-off-by: Andrew Bartlett --- diff --git a/python/py3compat.h b/python/py3compat.h index 0f4dcfef333..b0dc7bed49c 100644 --- a/python/py3compat.h +++ b/python/py3compat.h @@ -22,8 +22,6 @@ #include /* Quick docs: - * - * The IS_PY3 preprocessor constant is 1 on Python 3, and 0 on Python 2. * * "PyStr_*" works like PyUnicode_* on Python 3, but uses bytestrings (str) * under Python 2. @@ -54,8 +52,6 @@ /***** Python 3 *****/ -#define IS_PY3 1 - /* Strings */ #define PyStr_Type PyUnicode_Type