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