Further simplify WINAPI_DESKTOP

This commit is contained in:
Frank Denis 2015-05-29 17:11:11 +02:00
parent ada287ad56
commit 3bd6b8d074

View File

@ -23,13 +23,8 @@
# include <unistd.h> # include <unistd.h>
#endif #endif
#ifdef _WIN32 #if defined(_WIN32) && (!defined(WINAPI_FAMILY) || WINAPI_FAMILY == WINAPI_FAMILY_DESKTOP_APP)
# define WINAPI_DESKTOP # define WINAPI_DESKTOP
# if defined(WINAPI_FAMILY) && (WINAPI_FAMILY == WINAPI_FAMILY_PHONE_APP)
# undef WINAPI_DESKTOP
# elif defined(WINAPI_FAMILY_ONE_PARTITION) && defined(WINAPI_FAMILY_DESKTOP) && !WINAPI_FAMILY_ONE_PARTITION(WINAPI_FAMILY_DESKTOP)
# undef WINAPI_DESKTOP
# endif
#endif #endif
#define CANARY_SIZE 16U #define CANARY_SIZE 16U