summaryrefslogtreecommitdiffstats
path: root/config.h.in
diff options
context:
space:
mode:
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in25
1 files changed, 25 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
new file mode 100644
index 0000000..ec3e783
--- /dev/null
+++ b/config.h.in
@@ -0,0 +1,25 @@
+/* Do not modify this file directly; it is generated by meson from config.h.in!
+ * This file will be overwritten when meson runs again. */
+
+#ifndef VL_CONFIG_H_INCLUDED
+#define VL_CONFIG_H_INCLUDED
+
+enum {
+ PLATFORM_WINDOWS,
+ PLATFORM_LINUX,
+ PLATFORM_OSX,
+ PLATFORM_UNKNOWN
+};
+
+#mesondefine VL_OS_NAME
+#mesondefine VL_OS
+#mesondefine VL_ARCH_NAME
+#mesondefine VL_JRE_ARCH
+#mesondefine VL_ENDIAN_LITTLE
+#mesondefine VL_ENDIAN_BIG
+
+#if !(VL_ENDIAN_LITTLE || VL_ENDIAN_BIG)
+#error Bad platform endianness. Must be big or little.
+#endif
+
+#endif