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