2 * Copyright (c) 1998-2003, Darren Hiebert
4 * This source code is released for free distribution under the terms of the
5 * GNU General Public License version 2 or (at your option) any later version.
7 * Provides the general (non-ctags-specific) environment assumed by all.
9 #ifndef CTAGS_MAIN_GENERAL_H
10 #define CTAGS_MAIN_GENERAL_H
15 #if defined (HAVE_CONFIG_H)
17 #elif defined (_WIN32)
21 /* To provide timings features.
33 #if !defined(HAVE_STRCASECMP) && !defined(strcasecmp)
35 # define strcasecmp(s1,s2) stricmp(s1,s2)
37 # define strcasecmp(s1,s2) struppercmp(s1,s2)
41 #if !defined(HAVE_STRNCASECMP) && !defined(strncasecmp)
43 # define strncasecmp(s1,s2,n) strnicmp(s1,s2,n)
45 # define strncasecmp(s1,s2,n) strnuppercmp(s1,s2,n)
61 #ifdef ICONV_USE_LIB_PREFIX
62 #define iconv libiconv
63 #define iconv_open libiconv_open
64 #define iconv_close libiconv_close
67 #endif /* CTAGS_MAIN_GENERAL_H */