Merge pull request #11 from esorton/bugfix/add-constexpr-keyword-to-arduino-ctags
[arduino-ctags.git] / e_msoft.h
blobcc40015678e4fdc4e969758a4a714e8872325593
1 /*
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.
11 #ifndef E_MSOFT_H
12 #define E_MSOFT_H
14 /* MS-DOS/Windows doesn't allow manipulation of standard error,
15 * so we send it to stdout instead.
17 #define errout stdout
19 #define CASE_INSENSITIVE_FILENAMES 1
20 #define MANUAL_GLOBBING 1
21 #define MSDOS_STYLE_PATH 1
22 #define HAVE_DOS_H 1
23 #define HAVE_FCNTL_H 1
24 #define HAVE_IO_H 1
25 #define HAVE_STDLIB_H 1
26 #define HAVE_SYS_STAT_H 1
27 #define HAVE_SYS_TYPES_H 1
28 #define HAVE_TIME_H 1
29 #define HAVE_CLOCK 1
30 #define HAVE_CHSIZE 1
31 #define HAVE_FGETPOS 1
32 #define HAVE_STRICMP 1
33 #define HAVE_STRNICMP 1
34 #define HAVE_STRSTR 1
35 #define HAVE_STRERROR 1
36 #define HAVE_FINDNEXT 1
37 #define HAVE_TEMPNAM 1
38 #define tempnam(dir,pfx) _tempnam(dir,pfx)
39 #define TMPDIR "\\"
41 #ifdef __BORLANDC__
43 # define HAVE_DIR_H 1
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
52 # if _MSC_VER >= 1300
53 # define findfirst_t intptr_t /* Visual Studio 7 */
54 # else
55 # define findfirst_t long /* Visual Studio 6 or earlier */
56 # endif
58 #elif defined (__MINGW32__)
60 # include <_mingw.h>
61 # if defined (__MSVCRT__) && __MINGW32_MAJOR_VERSION == 1 && __MINGW32_MINOR_VERSION < 2
62 /* Work-around for broken implementation of fgetpos()/fsetpos() on Mingw32 */
63 # undef HAVE_FGETPOS
64 # define NEED_PROTO_FGETPOS 1
65 # endif
66 # define HAVE_DIR_H 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
72 # define ff_name name
74 #endif
76 #endif