summaryrefslogtreecommitdiffstats
path: root/libhb/ports.h
diff options
context:
space:
mode:
Diffstat (limited to 'libhb/ports.h')
-rw-r--r--libhb/ports.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/libhb/ports.h b/libhb/ports.h
index 0f3697f0d..47be2d76e 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -7,6 +7,12 @@
#ifndef HB_PORTS_H
#define HB_PORTS_H
+#if defined(_WIN32)
+#define DIR_SEP_STR "\\"
+#else
+#define DIR_SEP_STR "/"
+#endif
+
/************************************************************************
* Utils
***********************************************************************/