win32 patches

This commit is contained in:
U-w7\vsc
2013-11-15 18:25:33 +00:00
parent bb650629d9
commit 9c5d7af938
12 changed files with 233 additions and 231 deletions

View File

@@ -56,7 +56,7 @@ static char SccsId[] = "%W% %G%";
#include <string.h>
#endif
#ifdef DEBUG
#if DEBUG
#define LOGFILE "logfile"
@@ -204,7 +204,7 @@ Yap_OpDec(int p, char *type, Atom a, Term m)
static void
SetOp(int p, int type, char *at, Term m)
{
#ifdef DEBUG
#if DEBUG
if (GLOBAL_Option[5])
fprintf(stderr,"[setop %d %s %s]\n", p, optypes[type], at);
#endif
@@ -334,7 +334,7 @@ InitOps(void)
SetOp(Ops[i].opPrio, Ops[i].opType, Ops[i].opName, PROLOG_MODULE);
}
#ifdef DEBUG
#if DEBUG
#ifdef HAVE_ISATTY
#include <unistd.h>
#endif
@@ -344,7 +344,7 @@ static void
InitDebug(void)
{
Atom At;
#ifdef DEBUG
#if DEBUG
int i;
for (i = 1; i < 20; ++i)