]> git.lyx.org Git - lyx.git/blob - development/cmake/configCompiler.h.msvc
German EmbeddedObjects.lyx: two tiny issues spotted by Hartmut
[lyx.git] / development / cmake / configCompiler.h.msvc
1 /*\r
2  * \file configCompiler.h\r
3  * This file is part of LyX, the document processor.\r
4  * Licence details can be found in the file COPYING.\r
5  *\r
6  * This is the compilation configuration file for LyX.\r
7  * It was generated by autoconfs configure.\r
8  * You might want to change some of the defaults if something goes wrong\r
9  * during the compilation.\r
10  */\r
11 \r
12 #ifndef _CONFIG_COMPILER_H\r
13 #define _CONFIG_COMPILER_H\r
14 \r
15 \r
16 #define HAVE_IO_H 1\r
17 #define HAVE_LIMITS_H 1\r
18 #define HAVE_LOCALE_H 1\r
19 #define HAVE_PROCESS_H 1\r
20 #define HAVE_STDLIB_H 1\r
21 #define HAVE_SYS_STAT_H 1\r
22 /* #undef HAVE_SYS_TIME_H 1 */\r
23 #define HAVE_SYS_TYPES_H 1\r
24 #define HAVE_SYS_UTIME_H 1\r
25 /* #undef HAVE_SYS_SOCKET_H 1 */\r
26 /* #undef HAVE_UNISTD_H 1 */\r
27 /* #undef HAVE_INTTYPES_H 1 */\r
28 /* #undef HAVE_UTIME_H 1 */\r
29 #define HAVE_STRING_H 1\r
30 /* #undef HAVE_STRINGS_H 1 */\r
31 /* #undef HAVE_ISTREAM 1 */\r
32 /* #undef HAVE_OSTREAM 1 */\r
33 /* #undef HAVE_IOS 1 */\r
34 /* #undef HAVE_LOCALE 1 */\r
35 #define HAVE_OPEN 1\r
36 #define HAVE_CHMOD 1\r
37 #define HAVE_CLOSE 1\r
38 /* #undef HAVE_POPEN 1 */\r
39 /* #undef HAVE_PCLOSE 1 */\r
40 #define HAVE__OPEN 1\r
41 #define HAVE__CLOSE 1\r
42 #define HAVE__POPEN 1\r
43 #define HAVE__PCLOSE 1\r
44 #define HAVE_GETPID 1\r
45 #define HAVE__GETPID 1\r
46 #define HAVE_MKDIR 1\r
47 #define HAVE__MKDIR 1\r
48 #define HAVE_PUTENV 1\r
49 #define HAVE_MKTEMP 1\r
50 /* #undef HAVE_MKSTEMP 1 */\r
51 #define HAVE_STRERROR 1\r
52 /* #undef HAVE_STD_COUNT 1 */\r
53 /* #undef HAVE_ASPRINTF 1 */\r
54 #define HAVE_WPRINTF 1\r
55 /* #undef HAVE_SNPRINTF 1 */\r
56 #define HAVE_POSIX_PRINTF 1\r
57 /* #undef HAVE_FCNTL 1 */\r
58 /* #undef HAVE_INTMAX_T 1 */\r
59 /* #undef HAVE_INTTYPES_H_WITH_UINTMAX 1 */\r
60 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1\r
61 /* #undef CXX_GLOBAL_CSTD 1 */\r
62 #define HAVE_GETCWD 1\r
63 /* #undef HAVE_STPCPY 1 */\r
64 /* #undef HAVE_STRCASECMP 1 */\r
65 #define HAVE_STRDUP 1\r
66 #define HAVE_STRTOUL 1\r
67 /* #undef HAVE___FSETLOCKING 1 */\r
68 /* #undef HAVE_MEMPCPY 1 */\r
69 /* #undef HAVE___ARGZ_COUNT 1 */\r
70 /* #undef HAVE___ARGZ_NEXT 1 */\r
71 /* #undef HAVE___ARGZ_STRINGIFY 1 */\r
72 #define HAVE_SETLOCALE 1\r
73 /* #undef HAVE_TSEARCH 1 */\r
74 /* #undef HAVE_GETEGID 1 */\r
75 /* #undef HAVE_GETGID 1 */\r
76 /* #undef HAVE_GETUID 1 */\r
77 #define HAVE_WCSLEN 1\r
78 /* #undef HAVE_MKFIFO 1 */\r
79 #define HAVE_WPRINTF 1\r
80 #define HAVE_LONG_DOUBLE 1\r
81 #define HAVE_LONG_LONG 1\r
82 /* #undef HAVE_WCHAR_T 1 */\r
83 /* #undef HAVE_WINT_T 1 */\r
84 /* #undef HAVE_STDINT_H_WITH_UINTMAX 1 */\r
85 /* #undef HAVE_LC_MESSAGES 1     */\r
86 /* #undef HAVE_SSTREAM 1 */\r
87 /* #undef HAVE_ARGZ_H 1 */\r
88 #define SIZEOF_WCHAR_T_IS_2 1\r
89 /* #undef SIZEOF_WCHAR_T_IS_4 1 */\r
90 \r
91 #ifdef SIZEOF_WCHAR_T_IS_2\r
92 #  define SIZEOF_WCHAR_T 2\r
93 #else\r
94 #  ifdef SIZEOF_WCHAR_T_IS_4\r
95 #    define SIZEOF_WCHAR_T 4\r
96 #  endif\r
97 #endif\r
98 \r
99 /* #undef HAVE_ALLOCA 1 */\r
100 #define HAVE_SYMBOL_ALLOCA 1\r
101 #if defined(HAVE_SYMBOL_ALLOCA) && !defined(HAVE_ALLOCA)\r
102 #define HAVE_ALLOCA\r
103 #endif\r
104 \r
105 \r
106 #define HAVE_ICONV_CONST 1\r
107 #ifdef HAVE_ICONV_CONST\r
108 #define ICONV_CONST const\r
109 #else\r
110 #define ICONV_CONST\r
111 #endif\r
112 \r
113 #ifdef _MSC_VER\r
114 #undef HAVE_OPEN  // use _open instead\r
115 #define pid_t int\r
116 #define PATH_MAX 512\r
117 #endif\r
118 \r
119 #ifdef _WIN32 \r
120 #undef HAVE_MKDIR // use _mkdir instead\r
121 #endif\r
122 \r
123 #define BOOST_ALL_NO_LIB 1\r
124 \r
125 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)\r
126 #  define USE_BOOST_FORMAT 1\r
127 #else\r
128 #  define USE_BOOST_FORMAT 0\r
129 #endif\r
130 \r
131 #ifdef _DEBUG\r
132 #  define ENABLE_ASSERTIONS 1\r
133 #endif\r
134 \r
135 #ifndef ENABLE_ASSERTIONS\r
136 #  define BOOST_DISABLE_ASSERTS 1\r
137 #endif\r
138 #define BOOST_ENABLE_ASSERT_HANDLER 1\r
139 \r
140 #define BOOST_DISABLE_THREADS 1\r
141 #define BOOST_NO_WSTRING 1\r
142 \r
143 #ifdef __CYGWIN__\r
144 #  define BOOST_POSIX 1\r
145 #  define BOOST_POSIX_API 1\r
146 #  define BOOST_POSIX_PATH 1\r
147 #endif\r
148 \r
149 #ifndef HAVE_NEWAPIS_H\r
150 #  define WANT_GETFILEATTRIBUTESEX_WRAPPER 1\r
151 #endif\r
152 \r
153 /*\r
154  * the FreeBSD libc uses UCS4, but libstdc++ has no proper wchar_t\r
155  * support compiled in:\r
156  * http://gcc.gnu.org/onlinedocs/libstdc++/faq/index.html#3_9\r
157  * And we are not interested at all what libc\r
158  * does: What we need is a 32bit wide wchar_t, and a libstdc++ that\r
159  * has the needed wchar_t support and uses UCS4. Whether it\r
160  * implements this with the help of libc, or whether it has own code\r
161  * does not matter for us, because we don't use libc directly (Georg)\r
162 */\r
163 #if defined(HAVE_WCHAR_T) && SIZEOF_WCHAR_T == 4 && !defined(__FreeBSD__) && !defined(__FreeBSD_kernel__)\r
164 #  define USE_WCHAR_T\r
165 #endif\r
166 \r
167 #if defined(MAKE_INTL_LIB) && defined(_MSC_VER)\r
168 #define __attribute__(x)\r
169 #define inline\r
170 #define uintmax_t UINT_MAX\r
171 #endif\r
172 \r
173 #ifdef _MSC_VER\r
174 #ifdef HAVE_CHMOD\r
175 #undef HAVE_CHMOD\r
176 #endif\r
177 #endif\r
178 \r
179 #ifdef HAVE_CHMOD\r
180 #define HAVE_MODE_T\r
181 #endif\r
182 \r
183 \r
184 \r
185 #endif\r