1
0
Fork 0
mirror of https://github.com/Detanup01/gbe_fork.git synced 2025-08-03 14:15:31 +02:00

ensure GNUC is defined for linux builds + warn for unrecognized os

This commit is contained in:
otavepto 2024-05-12 05:03:56 +03:00
parent bac2976ace
commit 25043697c3

View file

@ -46,6 +46,15 @@
#ifndef NOMINMAX
#define NOMINMAX
#endif
#elif defined(__LINUX__)
#ifndef GNUC
#define GNUC
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#else
#warn "Unrecognized OS"
#endif
#define STEAM_API_EXPORTS