fix cygwin problems: bad tag scheme and broken mmap (use malloc for now)

git-svn-id: https://yap.svn.sf.net/svnroot/yap/trunk@1106 b08c6af1-5177-4d33-ba66-4b1c6b8b522a
This commit is contained in:
vsc 2004-07-26 16:03:35 +00:00
parent e4b56ab05f
commit 281d9b0073
2 changed files with 3 additions and 3 deletions

View File

@ -250,7 +250,7 @@ static int
parse_yap_arguments(int argc, char *argv[], YAP_init_args *iap)
{
char *p;
#if defined(SUPPORT_THREADS) || defined(SUPPORT_CONDOR)
#if USE_MALLOC
int BootMode = YAP_FULL_BOOT_FROM_PROLOG;
#else
int BootMode = YAP_BOOT_FROM_SAVED_CODE;

View File

@ -10,7 +10,7 @@
* File: Yap.h.m4 *
* mods: *
* comments: main header file for YAP *
* version: $Id: Yap.h.m4,v 1.60 2004-07-23 21:08:45 vsc Exp $ *
* version: $Id: Yap.h.m4,v 1.61 2004-07-26 16:03:35 vsc Exp $ *
*************************************************************************/
#include "config.h"
@ -638,7 +638,7 @@ and RefOfTerm(t) : Term -> DBRef = ...
if you place things in the lower addresses (power to the libc people).
*/
#if (defined(_AIX) || defined(_WIN32) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT)) && !defined(TABLING)
#if (defined(_AIX) || defined(_WIN32) || defined(sparc) || defined(__sparc) || defined(mips) || defined(__FreeBSD__) || defined(_POWER) || defined(__linux__) || defined(IN_SECOND_QUADRANT) || defined(__CYGWIN__)) && !defined(TABLING)
#define USE_LOW32_TAGS 1
#endif