Add warning when compiling UWP apps (#32)
(which is not supported for now...)
This commit is contained in:
parent
0be00a9b4c
commit
fa7f1c6c1f
7
ruapu.h
7
ruapu.h
@ -25,9 +25,14 @@ int ruapu_supports(const char* isa);
|
||||
#include <windows.h>
|
||||
|
||||
#if WINAPI_FAMILY == WINAPI_FAMILY_APP
|
||||
// uwp does not support veh :(
|
||||
#if defined (_MSC_VER)
|
||||
#pragma message("warning: ruapu does not support UWP yet.")
|
||||
#else
|
||||
#warning ruapu does not support UWP yet.
|
||||
#endif
|
||||
static int ruapu_detect_isa(const void* some_inst)
|
||||
{
|
||||
// uwp does not support seh :(
|
||||
(void)some_inst;
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user