diff options
author | gingold | 2008-04-09 04:01:16 +0000 |
---|---|---|
committer | gingold | 2008-04-09 04:01:16 +0000 |
commit | f63038518ec0b89eb6170e372a2ad5d0a24d30d3 (patch) | |
tree | c2155355116acf3f90a2ff0079423cba36b6050d /translate/grt/config | |
parent | eb4d862a6b8ac3991dac9a8bc2fb0b9d9830e951 (diff) | |
download | ghdl-f63038518ec0b89eb6170e372a2ad5d0a24d30d3.tar.gz ghdl-f63038518ec0b89eb6170e372a2ad5d0a24d30d3.tar.bz2 ghdl-f63038518ec0b89eb6170e372a2ad5d0a24d30d3.zip |
Improve macosX support.
Fix crashes in error handling.
Diffstat (limited to 'translate/grt/config')
-rw-r--r-- | translate/grt/config/linux.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/translate/grt/config/linux.c b/translate/grt/config/linux.c index 6b73cb4..82df5b9 100644 --- a/translate/grt/config/linux.c +++ b/translate/grt/config/linux.c @@ -25,6 +25,10 @@ #include <stdlib.h> //#include <stdint.h> +#ifdef __APPLE__ +#define MAP_ANONYMOUS MAP_ANON +#endif + /* On x86, the stack growns downward. */ #define STACK_GROWNS_DOWNWARD 1 |