fix __SVR4

fix darwin cpp


git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@504 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2002-05-28 17:28:25 +00:00
parent 02a3bcec93
commit 577298ac0b
3 changed files with 10 additions and 2 deletions

4
configure vendored
View File

@ -4430,6 +4430,10 @@ _ACEOF
DO_SECOND_LD=""
SHLIB_LD="cc -bundle -flat_namespace -undefined suppress"
INSTALL_DLLS=""
if test "$CC" = "cc"
then
CC="cc -no-cpp-precomp"
fi
;;
*netbsd*|*freebsd*)
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__

View File

@ -463,6 +463,10 @@ case $target_os in
DO_SECOND_LD=""
SHLIB_LD="cc -bundle -flat_namespace -undefined suppress"
INSTALL_DLLS=""
if test "$CC" = "cc"
then
CC="cc -no-cpp-precomp"
fi
;;
*netbsd*|*freebsd*)
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__

View File

@ -10,7 +10,7 @@
* File: Yap.h.m4 *
* mods: *
* comments: main header file for YAP *
* version: $Id: Yap.h.m4,v 1.26 2002-05-28 17:14:57 vsc Exp $ *
* version: $Id: Yap.h.m4,v 1.27 2002-05-28 17:28:25 vsc Exp $ *
*************************************************************************/
#include "config.h"
@ -242,7 +242,7 @@ extern char Option[20];
#else
#define MMAP_ADDR 0x09000000
#endif
#elif __svr4__ || _SVR4
#elif __svr4__ || defined(__SVR4)
#define MMAP_ADDR 0x02000000
#elif defined(_WIN32) || defined(__CYGWIN__)
#define MMAP_ADDR 0x30000000L