small macOS cleanup
- Need to use __MACOS__ instead of __APPLE__ when #including "macos.h". - Need to include "platform.h" for this to work.
This commit is contained in:
parent
e1ecf80e26
commit
9994847ea3
1 changed files with 2 additions and 1 deletions
|
|
@ -33,6 +33,7 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <libintl.h>
|
#include <libintl.h>
|
||||||
#include <locale.h>
|
#include <locale.h>
|
||||||
|
#include "platform.h"
|
||||||
#include "i18n.h"
|
#include "i18n.h"
|
||||||
#include "debug.h"
|
#include "debug.h"
|
||||||
|
|
||||||
|
|
@ -47,7 +48,7 @@
|
||||||
#include <wctype.h>
|
#include <wctype.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__APPLE__)
|
#if defined(__MACOS__)
|
||||||
#include "macos.h"
|
#include "macos.h"
|
||||||
#elif defined(__IOS__)
|
#elif defined(__IOS__)
|
||||||
#include "ios.h"
|
#include "ios.h"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue