Commit d778beba authored by Simon Morlat's avatar Simon Morlat
Browse files

repair build

parent 7dd2e9ff
......@@ -320,7 +320,17 @@ void helper(const char *name) {
return -1; \
}
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_DESKTOP)
#define NEED_MAIN 1
#ifdef WIN32
#ifdef WINAPI_FAMILY_PARTITION
#if WINAPI_FAMILY_PARTITION(WINAPI_PARTITION_PHONE)
#undef NEED_MAIN
#endif
#endif
#endif
#ifdef NEED_MAIN
int main (int argc, char *argv[]) {
int i;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment