1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
- #pragma once
- #ifdef _WIN32
- #define ETC_WINDOWS (1)
- #else
- #define ETC_WINDOWS (0)
- #endif
- #if __APPLE__
- #define ETC_OSX (1)
- #else
- #define ETC_OSX (0)
- #endif
- #if __unix__
- #define ETC_UNIX (1)
- #else
- #define ETC_UNIX (0)
- #endif
- #include <stdint.h>
- typedef int8_t i8;
- typedef int16_t i16;
- typedef int32_t i32;
- typedef int64_t i64;
- typedef uint8_t u8;
- typedef uint16_t u16;
- typedef uint32_t u32;
- typedef uint64_t u64;
- typedef float f32;
- typedef double f64;
- #undef NDEBUG
- #define USE_STB_IMAGE_LOAD 0
- #if ETC_WINDOWS
- #include <sdkddkver.h>
- #define _CRT_SECURE_NO_WARNINGS (1)
- #include <tchar.h>
- #endif
- #include <stdio.h>
|