summaryrefslogtreecommitdiff
path: root/os2
diff options
context:
space:
mode:
Diffstat (limited to 'os2')
-rw-r--r--os2/os2.c4
-rw-r--r--os2/os2ish.h6
2 files changed, 5 insertions, 5 deletions
diff --git a/os2/os2.c b/os2/os2.c
index d22553ad44..740f403d0b 100644
--- a/os2/os2.c
+++ b/os2/os2.c
@@ -29,7 +29,7 @@
#include "EXTERN.h"
#include "perl.h"
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
typedef void (*emx_startroutine)(void *);
typedef void* (*pthreads_startroutine)(void *);
@@ -1391,7 +1391,7 @@ mod2fname(pTHX_ SV *sv)
}
avlen --;
}
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
sum++; /* Avoid conflict of DLLs in memory. */
#endif
/* We always load modules as *specific* DLLs, and with the full name.
diff --git a/os2/os2ish.h b/os2/os2ish.h
index ede75fb77c..68b4dd9820 100644
--- a/os2/os2ish.h
+++ b/os2/os2ish.h
@@ -99,7 +99,7 @@
# undef I_SYS_UN
#endif
-#ifdef USE_THREADS
+#ifdef USE_5005THREADS
#define do_spawn(a) os2_do_spawn(aTHX_ (a))
#define do_aspawn(a,b,c) os2_do_aspawn(aTHX_ (a),(b),(c))
@@ -202,12 +202,12 @@ int pthread_create(pthread_t *tid, const pthread_attr_t *attr,
#define THREADS_ELSEWHERE
-#else /* USE_THREADS */
+#else /* USE_5005THREADS */
#define do_spawn(a) os2_do_spawn(a)
#define do_aspawn(a,b,c) os2_do_aspawn((a),(b),(c))
-#endif /* USE_THREADS */
+#endif /* USE_5005THREADS */
void Perl_OS2_init(char **);
void Perl_OS2_init3(char **envp, void **excH, int flags);