todo note to detect macos during build

This commit is contained in:
otavepto 2024-05-12 05:18:08 +03:00
parent 3d84ae9631
commit 8e73e0c516

View File

@ -41,6 +41,11 @@
#define __LINUX__
#endif
// TODO fix this and include proper headers
#if defined(__APPLE__) && defined(__MACH__)
#define __MACOS__
#endif
#if defined(__WINDOWS__)
#define STEAM_WIN32
#ifndef NOMINMAX
@ -50,11 +55,8 @@
#ifndef GNUC
#define GNUC
#endif
#ifndef NOMINMAX
#define NOMINMAX
#endif
#else
#warn "Unrecognized OS"
#warning "Unrecognized OS"
#endif
#define STEAM_API_EXPORTS