From 5fb57bead41cd3a84f0aa3f98d00b5fe5de25a08 Mon Sep 17 00:00:00 2001 From: seyko Date: Thu, 14 Apr 2016 21:39:34 +0300 Subject: fix for thev "#pragna once" guard gcc 3.4.6 don't understand "#if PATHCMP==stricmp" where "#define PATHCMP stricmp" --- tcc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tcc.h') 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]) -- cgit v1.3.1