From a887fd3a4ef9bcf673b286398802aa88ecb1592a Mon Sep 17 00:00:00 2001 From: bigfoot547 Date: Fri, 16 Jan 2026 18:57:56 -0600 Subject: endian functions --- config.h.in | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config.h.in (limited to 'config.h.in') 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 -- cgit v1.2.3-70-g09d2