projects
/
ctsim.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
55426f4
)
r249: *** empty log message ***
author
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 6 Dec 2000 16:41:17 +0000
(16:41 +0000)
committer
Kevin M. Rosenberg
<kevin@rosenberg.net>
Wed, 6 Dec 2000 16:41:17 +0000
(16:41 +0000)
include/ctsupport.h
patch
|
blob
|
history
diff --git
a/include/ctsupport.h
b/include/ctsupport.h
index ac3ffe0732ccdbfbd4f675d0770c626df206e40c..ce05b3bb59e9cc3b737f0f07eb9ec61984653305 100644
(file)
--- a/
include/ctsupport.h
+++ b/
include/ctsupport.h
@@
-9,7
+9,7
@@
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
** This is part of the CTSim program
** Copyright (C) 1983-2000 Kevin Rosenberg
**
-** $Id: ctsupport.h,v 1.
9 2000/12/06 15:17:51
kevin Exp $
+** $Id: ctsupport.h,v 1.
10 2000/12/06 16:41:17
kevin Exp $
**
**
** This program is free software; you can redistribute it and/or modify
**
**
** This program is free software; you can redistribute it and/or modify
@@
-33,17
+33,17
@@
#include "config.h"
#endif
#include "config.h"
#endif
-#ifdef
_WIN32
+#ifdef
MSVC
#define snprintf _snprintf
#endif
#define STR_MAX_LEN 255
#define STR_SIZE STR_MAX_LEN+1
#define snprintf _snprintf
#endif
#define STR_MAX_LEN 255
#define STR_SIZE STR_MAX_LEN+1
-#include <
stdio.h
>
-#include <
stdlib.h
>
-#include <
string.h
>
-#include <
stdarg.h
>
+#include <
cstdio
>
+#include <
cstdlib
>
+#include <
cstring
>
+#include <
cstdarg
>
#define TRUE 1
#define FALSE 0
#define TRUE 1
#define FALSE 0
@@
-92,7
+92,7
@@
typedef struct timedate_st TIMEDATE;
/* codes for open command */
/* codes for open command */
-#if
MICROSOFT
+#if
def MSVC
#define OPEN_RDONLY O_RDONLY /* other system use standard codes */
#define OPEN_WRONLY O_WRONLY /* for binary */
#define OPEN_RDWR O_RDWR
#define OPEN_RDONLY O_RDONLY /* other system use standard codes */
#define OPEN_WRONLY O_WRONLY /* for binary */
#define OPEN_RDWR O_RDWR
@@
-114,7
+114,7
@@
typedef struct timedate_st TIMEDATE;
/*----------------------------------------------------------------------*/
/*----------------------------------------------------------------------*/
-#if defined(M
ICROSOFT
) || ! defined(SIZEOF_INT)
+#if defined(M
SVC
) || ! defined(SIZEOF_INT)
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
#define SIZEOF_INT 4
#define SIZEOF_LONG 4
#define SIZEOF_SHORT 2
@@
-345,4
+345,4
@@
unsigned int cio_kb_waitc(const char *astr, int beep);
#define PERIOD '.'
#define VERTBAR '|'
#define PERIOD '.'
#define VERTBAR '|'
-#endif /* #ifndef
ASCII
_H */
+#endif /* #ifndef
CTSUPPORT
_H */