Skip to content

Commit

Permalink
add a define for Windows Games builds
Browse files Browse the repository at this point in the history
The proper way would be to use WINAPI_PARTITION() but I did it
in the same format as before.
  • Loading branch information
robUx4 committed Jan 18, 2024
1 parent 1250d32 commit 6218b08
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Source/ZenLib/Conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,11 @@
#define WINDOWS_UWP
#endif
#endif
#if defined(WINAPI_FAMILY) && (WINAPI_FAMILY==WINAPI_FAMILY_GAMES)
#ifndef WINDOWS_GAMES
#define WINDOWS_GAMES
#endif
#endif
#endif

//---------------------------------------------------------------------------
Expand Down

0 comments on commit 6218b08

Please sign in to comment.