diff options
author | Benjamin Peterson <benjamin@python.org> | 2016-09-06 17:51:19 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2016-09-06 17:51:19 (GMT) |
commit | d953f8e10bad887220d099676b36a86411afdf8f (patch) | |
tree | e9b8f1af627526423cf4a16152ca1b2f6567faef | |
parent | 003e929cdbff032143e58a4f41e7fc4e18e9b73b (diff) | |
download | cpython-d953f8e10bad887220d099676b36a86411afdf8f.zip cpython-d953f8e10bad887220d099676b36a86411afdf8f.tar.gz cpython-d953f8e10bad887220d099676b36a86411afdf8f.tar.bz2 |
remove some silly defined() tests
-rw-r--r-- | Objects/longobject.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Objects/longobject.c b/Objects/longobject.c index 6c8fe22..e0be8b3 100644 --- a/Objects/longobject.c +++ b/Objects/longobject.c @@ -4650,7 +4650,7 @@ simple: /* a fits into a long, so b must too */ x = PyLong_AsLong((PyObject *)a); y = PyLong_AsLong((PyObject *)b); -#elif defined(long long) && PY_LLONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT +#elif PY_LLONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT x = PyLong_AsLongLong((PyObject *)a); y = PyLong_AsLongLong((PyObject *)b); #else @@ -4669,7 +4669,7 @@ simple: } #if LONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT return PyLong_FromLong(x); -#elif defined(long long) && PY_LLONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT +#elif PY_LLONG_MAX >> PyLong_SHIFT >> PyLong_SHIFT return PyLong_FromLongLong(x); #else # error "_PyLong_GCD" |