C: fix the way how UWP env is detected in preprocessor

This commit is contained in:
Alexey Andreev 2019-10-31 14:37:49 +03:00
parent fb78377db8
commit 9bdec1fdb2
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@
#pragma warning(disable:4102)
#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
#define TEAVM_WINDOWS_UWP 1
#endif

View File

@ -1,8 +1,8 @@
#include "definitions.h"
#include "file.h"
#include "string.h"
#include "time.h"
#include "date.h"
#include "definitions.h"
#include <stdlib.h>
#include <errno.h>