#ifndef IL_PLATFORM_H #define IL_PLATFORM_H #if defined(_WIN32) # define IL_PLATFORM_WINDOWS 1 # define IL_PLATFORM "Windows" #elif defined(unix) || defined(__unix__) # define IL_PLATFORM_UNIX 1 # define IL_PLATFORM "Unix" #else # error "Undetected platform" #endif #endif // IL_PLATFORM_H