X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=include%2Fctsupport.h;h=49231cea020979f416467d5ec9c5076edc21789c;hp=dbf7dec7529c0b7a07e1db8a010428d46d5876d8;hb=8a7697ce57b56cdc43698cd1241ad98d49f9b5ac;hpb=f692b2d39f56ffbafc04283f32233c098aa2978b diff --git a/include/ctsupport.h b/include/ctsupport.h index dbf7dec..49231ce 100644 --- a/include/ctsupport.h +++ b/include/ctsupport.h @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: ctsupport.h,v 1.24 2001/02/02 00:46:38 kevin Exp $ +** $Id$ ** ** ** This program is free software; you can redistribute it and/or modify @@ -54,8 +54,12 @@ #include #endif +#ifndef TRUE #define TRUE 1 +#endif +#ifndef FALSE #define FALSE 0 +#endif #define OK TRUE /*----------------------------------------------------------------------*/ @@ -157,6 +161,7 @@ char *str_upper(char *str); void sys_error(int severity, const char *msg, ...); void sys_verror (std::string& strOutput, int severity, const char *msg, va_list arg); void sys_error_level(int severity); +extern unsigned long int g_lSysErrorMaxCount; // Math Section @@ -299,8 +304,8 @@ unsigned int cio_kb_waitc(const char *astr, int beep); // ASCII Section #define BACKSPACE 8 -#define LF 0x0A -#define CR 0x0D +// #define LF 0x0A +// #define CR 0x0D #define BELL 0x07 #define SQUOTE '\''