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 c9ce48d16..bd5cad189 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -10,6 +10,12 @@
#ifndef HB_PORTS_H
#define HB_PORTS_H
+#if ARCH_X86_64 || ARCH_X86_32
+#define ARCH_X86 1
+#else
+#define ARCH_X86 0
+#endif
+
#if defined(_WIN32)
#define DIR_SEP_STR "\\"
#define DIR_SEP_CHAR '\\'