diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-27 07:14:40 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-04-27 07:14:40 +0300 |
commit | a41e94c5da2acf868ec97de610afa06583dc843f (patch) | |
tree | e23ba0df712250d5fa51f12134e2fd8f129d5e65 /teco.h | |
parent | d461f4e32d2736fbae6f47d330b94cc4a8846cd1 (diff) | |
download | videoteco-fork-a41e94c5da2acf868ec97de610afa06583dc843f.tar.gz |
DOS: use backslash directory separators instead of slash
Diffstat (limited to 'teco.h')
-rw-r--r-- | teco.h | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -326,6 +326,14 @@ #define MAX_TAB_WIDTH 16 #define MAXOF( a,b) (a) > (b) ? (a) : (b) +#ifdef MSDOS +#define TECO_DIRSEP '\\' +#define TECO_DIRSEP_S "\\" +#else +#define TECO_DIRSEP '/' +#define TECO_DIRSEP_S "/" +#endif + #define INITIAL_LINE_BUFFER_SIZE 32 #define INCREMENTAL_LINE_BUFFER_SIZE 32 #define MINIMUM_ALLOCATION_BLOCK 32 |