cfad47cfa3/src/osdos.h

4b825dc642cb6eb9a060e54bf8d69288fbee4904cfad47cfa334b206c65f22086bcc5d63e6f70944
1
/* This gets included if we build FrobTADS in MS-DOG (and other DOGs).
2
 *
3
 * We don't actually support DOS; this file exists because of some
4
 * reason I don't fully comprehend...
5
 */
6
#ifndef OSDOS_H
7
#define OSDOS_H
8
9
#ifndef MSDOS
10
#define MSDOS
11
#endif
12
13
/* Normal path separator character.
14
 * DOS uses backslash rather than slash.*/
15
#define OSPATHCHAR '\\'
16
17
/* Other path separator characters. */
18
#define OSPATHALT "/:"
19
20
/* Path separator characters for URL conversions.
21
 * URL path separators - do not include ":", since we don't want to
22
 * convert this to a "/" in a URL */
23
#define OSPATHURL "\\/"
24
25
/* ASCII string giving the local newline sequence to write on output. */
26
#define OS_NEWLINE_SEQ  "\r\n"
27
28
/* This is only used by the Tads 3 compiler; we don't need it. */
29
/* Directory separator for PATH-style environment variables. */
30
/*#define OSPATHSEP ';'*/
31
32
/* The rest stays as-is. */
33
#include "osfrobtads.h"
34
35
#endif /* OSDOS_H */