Skip to content

Commit

Permalink
Add warning when compiling UWP apps
Browse files Browse the repository at this point in the history
(which is not supported for now...)
  • Loading branch information
kernelbin committed Feb 23, 2024
1 parent 886ca9b commit ea3c20e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion ruapu.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit ea3c20e

Please sign in to comment.