summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Foucher <benoit@zeroc.com>2020-11-10 17:15:19 +0100
committerBenoit Foucher <benoit@zeroc.com>2020-11-10 17:15:19 +0100
commit32a9c91c04c18fd3079fd278824729045ff0dcdf (patch)
tree45fc2f1551a3d17ddebd22d6e5887d1499164da5
parentFixed iOS test controller Xcode project for Xcode 12 and Python 3.9 fix (diff)
downloadice-32a9c91c04c18fd3079fd278824729045ff0dcdf.tar.bz2
ice-32a9c91c04c18fd3079fd278824729045ff0dcdf.tar.xz
ice-32a9c91c04c18fd3079fd278824729045ff0dcdf.zip
Fixed invalid Python 3.9 macro
-rw-r--r--python/modules/IcePy/Init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/modules/IcePy/Init.cpp b/python/modules/IcePy/Init.cpp
index 8a20f779b4b..ca6107c230a 100644
--- a/python/modules/IcePy/Init.cpp
+++ b/python/modules/IcePy/Init.cpp
@@ -141,7 +141,7 @@ initIcePy(void)
Ice::registerIceDiscovery(false);
Ice::registerIceLocatorDiscovery(false);
-#if PY_VERSION_HEX >= 0x03090000
+#if PY_VERSION_HEX < 0x03090000
//
// Notify Python that we are a multi-threaded extension. This method is deprecated
// and does nothing since Python 3.9