aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
authorseyko <seyko2@gmail.com>2016-04-14 21:39:34 +0300
committerseyko <seyko2@gmail.com>2016-04-14 21:39:34 +0300
commit5fb57bead41cd3a84f0aa3f98d00b5fe5de25a08 (patch)
tree8704e329d5f096faeb7493480c4fb3d9011c43ce /tcc.h
parent34feee0ed6879a9c28e8f82fde932eb6b20d79d5 (diff)
downloadtinycc-5fb57bead41cd3a84f0aa3f98d00b5fe5de25a08.tar.gz
tinycc-5fb57bead41cd3a84f0aa3f98d00b5fe5de25a08.tar.bz2
fix for thev "#pragna once" guard
gcc 3.4.6 don't understand "#if PATHCMP==stricmp" where "#define PATHCMP stricmp"
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 09c27d8..dd4ecd5 100644
--- a/tcc.h
+++ b/tcc.h
@@ -101,6 +101,7 @@
# define IS_DIRSEP(c) (c == '/' || c == '\\')
# define IS_ABSPATH(p) (IS_DIRSEP(p[0]) || (p[0] && p[1] == ':' && IS_DIRSEP(p[2])))
# define PATHCMP stricmp
+# define PATH_NOCASE
#else
# define IS_DIRSEP(c) (c == '/')
# define IS_ABSPATH(p) IS_DIRSEP(p[0])