diff options
Diffstat (limited to 'cut-n-paste/synctex/synctex_parser_utils.h')
-rw-r--r-- | cut-n-paste/synctex/synctex_parser_utils.h | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cut-n-paste/synctex/synctex_parser_utils.h b/cut-n-paste/synctex/synctex_parser_utils.h index 18348aa6..db19b2da 100644 --- a/cut-n-paste/synctex/synctex_parser_utils.h +++ b/cut-n-paste/synctex/synctex_parser_utils.h @@ -61,18 +61,15 @@ authorization from the copyright holder. extern "C" { #endif -#define FALSE 0 -#define TRUE !FALSE - -# if _WIN32 -# define SYNCTEX_CASE_SENSITIVE_PATH FALSE +# if defined(_WIN32) || defined(__OS2__) +# define SYNCTEX_CASE_SENSITIVE_PATH 0 # define SYNCTEX_IS_PATH_SEPARATOR(c) ('/' == c || '\\' == c) # else -# define SYNCTEX_CASE_SENSITIVE_PATH TRUE +# define SYNCTEX_CASE_SENSITIVE_PATH 1 # define SYNCTEX_IS_PATH_SEPARATOR(c) ('/' == c) # endif -# if _WIN32 +# if defined(_WIN32) || defined(__OS2__) # define SYNCTEX_IS_DOT(c) ('.' == c) # else # define SYNCTEX_IS_DOT(c) ('.' == c) |