]> granicus.if.org Git - python/commitdiff
Use the proper OS2 test symbol: PYOS_OS2.
authorGuido van Rossum <guido@python.org>
Fri, 5 Dec 1997 21:39:25 +0000 (21:39 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 5 Dec 1997 21:39:25 +0000 (21:39 +0000)
Include/osdefs.h

index 594fc107cf0d23f0ee791c9213015649b6b936e8..1a00fc0c6b22b48042499440cf13236563d8a0d2 100644 (file)
@@ -46,7 +46,7 @@ PERFORMANCE OF THIS SOFTWARE.
 
 /* Mod by chrish: QNX has WATCOM, but isn't DOS */
 #if !defined(__QNX__)
-#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(__TOS_OS2__)
+#if defined(MS_WINDOWS) || defined(__BORLANDC__) || defined(__WATCOMC__) || defined(__DJGPP__) || defined(PYOS_OS2)
 #define SEP '\\'
 #define ALTSEP '/'
 #define MAXPATHLEN 256