diff options
| author | 2026-01-16 18:57:56 -0600 | |
|---|---|---|
| committer | 2026-01-16 18:57:56 -0600 | |
| commit | a887fd3a4ef9bcf673b286398802aa88ecb1592a (patch) | |
| tree | 568019b692e5b2b38a149bbf94c55dbe78237c7a /config.h.in | |
| parent | move include directory (diff) | |
endian functions
Diffstat (limited to 'config.h.in')
| -rw-r--r-- | config.h.in | 25 |
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 |
