Mercurial > cpython-lru_cache-weakref
comparison Python/thread.c @ 15047:457f0df46dd9 legacy-trunk
Donn Cave <donn@u.washington.edu>:
Do not assume that all platforms using a MetroWorks compiler can use
POSIX threads; the assumption breaks on BeOS. This fix only helps
for BeOS.
This closes SourceForge patch #101772.
| author | Fred Drake <fdrake@acm.org> |
|---|---|
| date | Fri, 06 Oct 2000 15:48:38 +0000 |
| parents | 756c8c6535fe |
| children | 2dea40e40d9d |
comparison
equal
deleted
inserted
replaced
| 15046:c654b2018403 | 15047:457f0df46dd9 |
|---|---|
| 56 | 56 |
| 57 #if defined(sun) && !defined(SOLARIS_THREADS) | 57 #if defined(sun) && !defined(SOLARIS_THREADS) |
| 58 #define SUN_LWP | 58 #define SUN_LWP |
| 59 #endif | 59 #endif |
| 60 | 60 |
| 61 #ifdef __MWERKS__ | 61 #if defined(__MWERKS__) && !defined(__BEOS__) |
| 62 #define _POSIX_THREADS | 62 #define _POSIX_THREADS |
| 63 #endif | 63 #endif |
| 64 | 64 |
| 65 #endif /* _POSIX_THREADS */ | 65 #endif /* _POSIX_THREADS */ |
| 66 | 66 |
