Confirm WAPP_PLATFORM_C is defined before checking version
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
#include "../platform/platform.h"
|
#include "../platform/platform.h"
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
#if WAPP_PLATFORM_C_VERSION >= WAPP_PLATFORM_C11_VERSION && !defined(WAPP_PLATFORM_APPLE)
|
#if defined(WAPP_PLATFORM_C) && WAPP_PLATFORM_C_VERSION >= WAPP_PLATFORM_C11_VERSION && !defined(WAPP_PLATFORM_APPLE)
|
||||||
#include <uchar.h>
|
#include <uchar.h>
|
||||||
|
|
||||||
#if WAPP_PLATFORM_C_VERSION >= WAPP_PLATFORM_C23_VERSION
|
#if WAPP_PLATFORM_C_VERSION >= WAPP_PLATFORM_C23_VERSION
|
||||||
@@ -21,7 +21,7 @@
|
|||||||
#define c8 uint8_t
|
#define c8 uint8_t
|
||||||
#define c16 uint16_t
|
#define c16 uint16_t
|
||||||
#define c32 uint32_t
|
#define c32 uint32_t
|
||||||
#endif // !WAPP_PLATFORM_C11_VERSION
|
#endif // !WAPP_PLATFORM_C
|
||||||
|
|
||||||
#define u8 uint8_t
|
#define u8 uint8_t
|
||||||
#define u16 uint16_t
|
#define u16 uint16_t
|
||||||
|
|||||||
Reference in New Issue
Block a user