From 3ef341a21a54465dda43ef3bd6e28d3f2f912563 Mon Sep 17 00:00:00 2001 From: Joshua Scoggins Date: Fri, 30 Nov 2012 20:55:26 -0800 Subject: [PATCH] Added OpenBSD and MacOS X to savegame.c Now the OS field will be correct when dealing with OSX and OpenBSD --- src/savegame/savegame.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/savegame/savegame.c b/src/savegame/savegame.c index 97d5170..555aa42 100644 --- a/src/savegame/savegame.c +++ b/src/savegame/savegame.c @@ -66,6 +66,10 @@ */ #if defined(__FreeBSD__) #define OS "FreeBSD" +#elif defined(__APPLE__) + #define OS "MacOS X" +#elif defined(__OpenBSD__) + #define OS "OpenBSD" #elif defined(__linux__) #define OS "Linux" #elif defined(_WIN32)