aboutsummaryrefslogtreecommitdiff
path: root/teco.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 07:14:40 +0300
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2025-04-27 07:14:40 +0300
commita41e94c5da2acf868ec97de610afa06583dc843f (patch)
treee23ba0df712250d5fa51f12134e2fd8f129d5e65 /teco.h
parentd461f4e32d2736fbae6f47d330b94cc4a8846cd1 (diff)
downloadvideoteco-fork-a41e94c5da2acf868ec97de610afa06583dc843f.tar.gz
DOS: use backslash directory separators instead of slash
Diffstat (limited to 'teco.h')
-rw-r--r--teco.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/teco.h b/teco.h
index 3399262..8cd22b6 100644
--- a/teco.h
+++ b/teco.h
@@ -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