2 * $Id: e_msoft.h 577 2007-06-30 15:30:16Z dhiebert $
4 * Copyright (c) 2002-2003, Darren Hiebert
6 * This source code is released for free distribution under the terms of the
7 * GNU General Public License.
9 * Configures ctags for Microsoft environment.
14 /* MS-DOS/Windows doesn't allow manipulation of standard error,
15 * so we send it to stdout instead.
19 #define CASE_INSENSITIVE_FILENAMES 1
20 #define MANUAL_GLOBBING 1
21 #define MSDOS_STYLE_PATH 1
23 #define HAVE_FCNTL_H 1
25 #define HAVE_STDLIB_H 1
26 #define HAVE_SYS_STAT_H 1
27 #define HAVE_SYS_TYPES_H 1
31 #define HAVE_FGETPOS 1
32 #define HAVE_STRICMP 1
33 #define HAVE_STRNICMP 1
35 #define HAVE_STRERROR 1
36 #define HAVE_FINDNEXT 1
37 #define HAVE_TEMPNAM 1
38 #define tempnam(dir,pfx) _tempnam(dir,pfx)
44 # define HAVE_DIRENT_H 1
45 # define HAVE_FINDFIRST 1
47 #elif defined (_MSC_VER)
49 # define HAVE__FINDFIRST 1
50 # define HAVE_DIRECT_H 1
53 # define findfirst_t intptr_t /* Visual Studio 7 */
55 # define findfirst_t long /* Visual Studio 6 or earlier */
58 #elif defined (__MINGW32__)
61 # if defined (__MSVCRT__) && __MINGW32_MAJOR_VERSION == 1 && __MINGW32_MINOR_VERSION < 2
62 /* Work-around for broken implementation of fgetpos()/fsetpos() on Mingw32 */
64 # define NEED_PROTO_FGETPOS 1
67 # define HAVE_DIRENT_H 1
68 # define HAVE__FINDFIRST 1
69 # define findfirst_t long
70 # define ffblk _finddata_t
71 # define FA_DIREC _A_SUBDIR