From d83d72fd888d28680d87ae77e397a3a8db7d6f0d Mon Sep 17 00:00:00 2001
From: Nicholas Hastings <nshastings@gmail.com>
Date: Wed, 28 May 2014 20:36:52 -0400
Subject: [PATCH] Give define value (of 1) to PLATFORM defs to match the
 same-name defs in some SDKs.

---
 public/sm_platform.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/public/sm_platform.h b/public/sm_platform.h
index 2bf75431..4e64165c 100644
--- a/public/sm_platform.h
+++ b/public/sm_platform.h
@@ -39,7 +39,7 @@
 
 #if defined WIN32 || defined WIN64
 #ifndef PLATFORM_WINDOWS
-#define PLATFORM_WINDOWS
+#define PLATFORM_WINDOWS		1
 #endif
 #if !defined WIN32_LEAN_AND_MEAN
 #define WIN32_LEAN_AND_MEAN
@@ -64,14 +64,14 @@
 #endif
 #elif defined __linux__ || defined __APPLE__
 #if defined __linux__
-# define PLATFORM_LINUX
+# define PLATFORM_LINUX			1
 # define PLATFORM_LIB_EXT		"so"
 #elif defined __APPLE__
-# define PLATFORM_APPLE
+# define PLATFORM_APPLE			1
 # define PLATFORM_LIB_EXT		"dylib"
 #endif
 #ifndef PLATFORM_POSIX
-# define PLATFORM_POSIX
+# define PLATFORM_POSIX			1
 #endif
 #include <errno.h>
 #include <unistd.h>