diff options
| author | David Jones | 2007-03-09 12:31:34 +0000 |
|---|---|---|
| committer | David Jones | 2007-03-09 12:31:34 +0000 |
| commit | a8888685eaa4380e75773fb29104cf14add19ef9 (patch) | |
| tree | 4a127c9c336c4476d69303589feac6d4dd89bbbe /mps/code | |
| parent | 90b7369aa4d2cb93c4ae810c245969815bd11e5e (diff) | |
| download | emacs-a8888685eaa4380e75773fb29104cf14add19ef9.tar.gz emacs-a8888685eaa4380e75773fb29104cf14add19ef9.zip | |
Mps: fixing linux builds. recent linuxes are more careful with their open-sesame magic.
Copied from Perforce
Change: 161907
ServerID: perforce.ravenbrook.com
Diffstat (limited to 'mps/code')
| -rw-r--r-- | mps/code/prmcli.h | 2 | ||||
| -rw-r--r-- | mps/code/pthrdext.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/mps/code/prmcli.h b/mps/code/prmcli.h index 395d7c5adcb..0defd356b68 100644 --- a/mps/code/prmcli.h +++ b/mps/code/prmcli.h | |||
| @@ -12,7 +12,7 @@ | |||
| 12 | 12 | ||
| 13 | /* open sesame magic */ | 13 | /* open sesame magic */ |
| 14 | #define _BSD_SOURCE 1 | 14 | #define _BSD_SOURCE 1 |
| 15 | #define _POSIX_C_SOURCE 1 | 15 | #define _XOPEN_SOURCE 500 |
| 16 | 16 | ||
| 17 | #include "mpm.h" | 17 | #include "mpm.h" |
| 18 | 18 | ||
diff --git a/mps/code/pthrdext.c b/mps/code/pthrdext.c index e52d3431686..ff2986a1b6f 100644 --- a/mps/code/pthrdext.c +++ b/mps/code/pthrdext.c | |||
| @@ -18,7 +18,7 @@ | |||
| 18 | #if defined(MPS_OS_LI) | 18 | #if defined(MPS_OS_LI) |
| 19 | /* open sesame magic */ | 19 | /* open sesame magic */ |
| 20 | #define _BSD_SOURCE 1 | 20 | #define _BSD_SOURCE 1 |
| 21 | #define _POSIX_C_SOURCE 1 | 21 | #define _XOPEN_SOURCE 500 |
| 22 | #endif | 22 | #endif |
| 23 | 23 | ||
| 24 | #include <pthread.h> | 24 | #include <pthread.h> |