Replace check for iOS in binding.h

This commit is contained in:
Hanh 2023-03-12 23:32:39 +10:00
parent d6aa277757
commit e8460e4165
2 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
#if !defined(__APPLE__) || defined(__MACH__)
#if !defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
typedef char int8_t;
typedef unsigned char uint8_t;
typedef short int uint16_t;

View File

@ -1,7 +1,7 @@
language = "C"
no_includes = true
after_includes = """
#if !defined(__APPLE__) || defined(__MACH__)
#if !defined(__APPLE__) && !defined(TARGET_OS_IPHONE)
typedef char int8_t;
typedef unsigned char uint8_t;
typedef short int uint16_t;