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:
parent
02a3bcec93
commit
577298ac0b
4
configure
vendored
4
configure
vendored
@ -4430,6 +4430,10 @@ _ACEOF
|
|||||||
DO_SECOND_LD=""
|
DO_SECOND_LD=""
|
||||||
SHLIB_LD="cc -bundle -flat_namespace -undefined suppress"
|
SHLIB_LD="cc -bundle -flat_namespace -undefined suppress"
|
||||||
INSTALL_DLLS=""
|
INSTALL_DLLS=""
|
||||||
|
if test "$CC" = "cc"
|
||||||
|
then
|
||||||
|
CC="cc -no-cpp-precomp"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*netbsd*|*freebsd*)
|
*netbsd*|*freebsd*)
|
||||||
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
||||||
|
@ -463,6 +463,10 @@ case $target_os in
|
|||||||
DO_SECOND_LD=""
|
DO_SECOND_LD=""
|
||||||
SHLIB_LD="cc -bundle -flat_namespace -undefined suppress"
|
SHLIB_LD="cc -bundle -flat_namespace -undefined suppress"
|
||||||
INSTALL_DLLS=""
|
INSTALL_DLLS=""
|
||||||
|
if test "$CC" = "cc"
|
||||||
|
then
|
||||||
|
CC="cc -no-cpp-precomp"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*netbsd*|*freebsd*)
|
*netbsd*|*freebsd*)
|
||||||
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
if echo __ELF__ | ${CC:-cc} -E - | grep -q __ELF__
|
||||||
|
@ -10,7 +10,7 @@
|
|||||||
* File: Yap.h.m4 *
|
* File: Yap.h.m4 *
|
||||||
* mods: *
|
* mods: *
|
||||||
* comments: main header file for YAP *
|
* 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"
|
#include "config.h"
|
||||||
@ -242,7 +242,7 @@ extern char Option[20];
|
|||||||
#else
|
#else
|
||||||
#define MMAP_ADDR 0x09000000
|
#define MMAP_ADDR 0x09000000
|
||||||
#endif
|
#endif
|
||||||
#elif __svr4__ || _SVR4
|
#elif __svr4__ || defined(__SVR4)
|
||||||
#define MMAP_ADDR 0x02000000
|
#define MMAP_ADDR 0x02000000
|
||||||
#elif defined(_WIN32) || defined(__CYGWIN__)
|
#elif defined(_WIN32) || defined(__CYGWIN__)
|
||||||
#define MMAP_ADDR 0x30000000L
|
#define MMAP_ADDR 0x30000000L
|
||||||
|
Reference in New Issue
Block a user