removing some compiler warnings
[drnoksnes] / port.h
diff --git a/port.h b/port.h
index 80101f5..b24a6e2 100644 (file)
--- a/port.h
+++ b/port.h
@@ -99,17 +99,29 @@ typedef int16_t                     int16_32;
 #define _MAX_EXT NAME_MAX
 #define _MAX_PATH PATH_MAX
 
-//True/False Defines
+// Boolean constants (may already be defined)
+#ifndef TRUE
 #define TRUE 1
+#endif
+#ifndef FALSE
 #define FALSE 0
+#endif
 
-// Configuration defines I think I know what they're for
+// Config -> Defines
+#if CONF_BUILD_ASM_SPC700
 #define ASM_SPC700             1
+#else
+#undef ASM_SPC700
+#endif
+
+// Configuration defines I think I know what they're for
 #define SUPER_FX               1
+#define USE_SA1                        1
 #define CPU_SHUTDOWN   1
 //#define NETPLAY_SUPPORT      1
 #define ZLIB                   1
 #define UNZIP_SUPPORT  1
+#define NO_INLINE_SET_GET 1
 
 //Misc Items
 #define VAR_CYCLES