ensure GNUC is defined for linux builds + warn for unrecognized os
This commit is contained in:
parent
bac2976ace
commit
25043697c3
@ -46,6 +46,15 @@
|
|||||||
#ifndef NOMINMAX
|
#ifndef NOMINMAX
|
||||||
#define NOMINMAX
|
#define NOMINMAX
|
||||||
#endif
|
#endif
|
||||||
|
#elif defined(__LINUX__)
|
||||||
|
#ifndef GNUC
|
||||||
|
#define GNUC
|
||||||
|
#endif
|
||||||
|
#ifndef NOMINMAX
|
||||||
|
#define NOMINMAX
|
||||||
|
#endif
|
||||||
|
#else
|
||||||
|
#warn "Unrecognized OS"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define STEAM_API_EXPORTS
|
#define STEAM_API_EXPORTS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user