mirror of
https://github.com/Eaglercraft-TeaVM-Fork/eagler-teavm.git
synced 2024-12-22 16:14:10 -08:00
C: fix the way how UWP env is detected in preprocessor
This commit is contained in:
parent
fb78377db8
commit
9bdec1fdb2
|
@ -13,7 +13,7 @@
|
||||||
#pragma warning(disable:4102)
|
#pragma warning(disable:4102)
|
||||||
|
|
||||||
#ifdef WINAPI_FAMILY
|
#ifdef WINAPI_FAMILY
|
||||||
#if WINAPI_FAMILY == 2 || WINAPI_FAMILY == 3 || WINAPI_FAMILY == 5
|
#if WINAPI_FAMILY == WINAPI_FAMILY_APP || WINAPI_FAMILY == 2 || WINAPI_FAMILY == 3 || WINAPI_FAMILY == 5
|
||||||
#undef TEAVM_WINDOWS_UWP
|
#undef TEAVM_WINDOWS_UWP
|
||||||
#define TEAVM_WINDOWS_UWP 1
|
#define TEAVM_WINDOWS_UWP 1
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
|
#include "definitions.h"
|
||||||
#include "file.h"
|
#include "file.h"
|
||||||
#include "string.h"
|
#include "string.h"
|
||||||
#include "time.h"
|
#include "time.h"
|
||||||
#include "date.h"
|
#include "date.h"
|
||||||
#include "definitions.h"
|
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user