aboutsummaryrefslogtreecommitdiff
path: root/source/port.h
diff options
context:
space:
mode:
authorTwinaphex2017-06-18 18:41:06 +0200
committerGitHub2017-06-18 18:41:06 +0200
commit1aecedc999445e9a27e04f665fd562b576775d08 (patch)
treec526c7d332be548a42364eea9113b6d33345b840 /source/port.h
parentdc596c886e0ec2728dc353dd7862cdf1e5a5ff44 (diff)
parentbcaf44c511efaad9d803dde9b0fdbb046498c66f (diff)
downloadsnesemu-1aecedc999445e9a27e04f665fd562b576775d08.tar.gz
snesemu-1aecedc999445e9a27e04f665fd562b576775d08.tar.bz2
snesemu-1aecedc999445e9a27e04f665fd562b576775d08.zip
Merge pull request #36 from jamsilva/master
Compatibility fixes.
Diffstat (limited to 'source/port.h')
-rw-r--r--source/port.h11
1 files changed, 5 insertions, 6 deletions
diff --git a/source/port.h b/source/port.h
index 622027f..12d210c 100644
--- a/source/port.h
+++ b/source/port.h
@@ -4,7 +4,6 @@
#define _PORT_H_
#include <limits.h>
-
#include <string.h>
#include <sys/types.h>
@@ -24,23 +23,23 @@
#define PATH_MAX 1024
#endif
-#define _MAX_DIR PATH_MAX
+#define _MAX_DIR PATH_MAX
#define _MAX_DRIVE 1
#define _MAX_FNAME PATH_MAX
-#define _MAX_EXT PATH_MAX
-#define _MAX_PATH PATH_MAX
+#define _MAX_EXT PATH_MAX
+#define _MAX_PATH PATH_MAX
void _makepath(char* path, const char* drive, const char* dir, const char* fname, const char* ext);
void _splitpath(const char* path, char* drive, char* dir, char* fname, char* ext);
#else /* __WIN32__ */
-#define strcasecmp stricmp
+#define strcasecmp stricmp
#define strncasecmp strnicmp
#endif
#define SLASH_STR "/"
#define SLASH_CHAR '/'
-#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
+#if defined(__i386__) || defined(__i486__) || defined(__i586__) || \
defined(__WIN32__) || defined(__alpha__)
#define FAST_LSB_WORD_ACCESS
#elif defined(__MIPSEL__)