]> git.lyx.org Git - lyx.git/blob - development/Win32/config.h
Add Windows-specific code to userinfo.C.
[lyx.git] / development / Win32 / config.h
1 /* src/config.h.  Generated by configure.  */
2 /* src/config.h.in.  Generated from configure.ac by autoheader.  */
3
4
5 /* -*- C++ -*- */
6 /*
7  * \file config.h
8  * This file is part of LyX, the document processor.
9  * Licence details can be found in the file COPYING.
10  *
11  * This is the compilation configuration file for LyX.
12  * It was generated by autoconfs configure.
13  * You might want to change some of the defaults if something goes wrong
14  * during the compilation.
15  */
16
17 #ifndef _CONFIG_H
18 #define _CONFIG_H
19
20 #pragma warning(disable:4127 4244 4258 4355 4267 4503 4786 4800)
21
22 // Enable a bunch of useful warnings
23 #pragma warning(3:4019 4032 4057 4125 4130 4152 4189 4201 4706)
24
25 #pragma warning(2:4032)     // function arg has different type from declaration
26 #pragma warning(2:4092)     // 'sizeof' value too big
27 #pragma warning(2:4132 4268)// const object not initialized
28 #pragma warning(2:4152)     // pointer conversion between function and data
29 #pragma warning(2:4239)     // standard doesn't allow this conversion
30 #pragma warning(2:4701)     // local variable used without being initialized
31 #pragma warning(2:4706)     // if (a=b) instead of (if a==b)
32 #pragma warning(2:4709)     // comma in array subscript
33 //#pragma warning(3:4061)     // not all enum values tested in switch statement ( works in vc7, and gives alot of warnings )
34 //#pragma warning(3:4505)     // unreferenced local function removed
35 #pragma warning(3:4121)     // space added for structure alignment
36 #pragma warning(3:4019)     // empty statement at global scope
37 #pragma warning(3:4057)     // pointers refer to different base types
38 #pragma warning(3:4125)     // decimal digit terminates octal escape
39 #pragma warning(2:4131)     // old-style function declarator
40 #pragma warning(3:4211)     // extern redefined as static
41 #pragma warning(3:4213)     // cast on left side of = is non-standard
42 #pragma warning(3:4222)     // member function at file scope shouldn't be static
43 #pragma warning(3:4234 4235)// keyword not supported or reserved for future
44 #pragma warning(3:4504)     // type ambiguous; simplify code
45 #pragma warning(3:4507)     // explicit linkage specified after default linkage
46 #pragma warning(3:4515)     // namespace uses itself
47 #pragma warning(3:4516 4517)// access declarations are deprecated
48 #pragma warning(3:4670)     // base class of thrown object is inaccessible
49 #pragma warning(3:4671)     // copy ctor of thrown object is inaccessible
50 #pragma warning(3:4673)     // thrown object cannot be handled in catch block
51 #pragma warning(3:4674)     // dtor of thrown object is inaccessible
52 #pragma warning(3:4705)     // statement has no effect (example: a+1;)
53
54
55 /* Location of Aiksaurus.h */
56 #define AIKSAURUS_H_LOCATION <Aiksaurus/Aiksaurus.h>
57
58 /* Define to one of `_getb67', `GETB67', `getb67' for Cray-2 and Cray-YMP
59    systems. This function is required for `alloca.c' support on those systems.
60    */
61 /* #undef CRAY_STACKSEG_END */
62
63 /* Define if your C++ compiler puts C library functions in the global
64    namespace */
65 /* #undef CXX_GLOBAL_CSTD */
66
67 /* Define to 1 if using `alloca.c'. */
68 /* #undef C_ALLOCA */
69
70 /* Define if you are building a development version of LyX */
71 #define DEVEL_VERSION 1
72
73 /* Define if you want assertions to be enabled in the code */
74 #define ENABLE_ASSERTIONS 1
75
76 /* Define to 1 if translation of program messages to the user's native
77    language is requested. */
78 /* #undef ENABLE_NLS */
79
80 /* Define to 1 if you have `alloca', as a function or macro. */
81 #define HAVE_ALLOCA 1
82
83 /* Define to 1 if you have <alloca.h> and it should be used (not on Ultrix).
84    */
85 #define HAVE_ALLOCA_H 1
86
87 /* Define to 1 if you have the <argz.h> header file. */
88 /* #undef HAVE_ARGZ_H */
89
90 /* Define to 1 if you have the <aspell/aspell.h> header file. */
91 /* #undef HAVE_ASPELL_ASPELL_H */
92
93 /* Define to 1 if you have the <aspell.h> header file. */
94 /* #undef HAVE_ASPELL_H */
95
96 /* Define to 1 if you have the `asprintf' function. */
97 /* #undef HAVE_ASPRINTF */
98
99 /* Define if the GNU dcgettext() function is already present or preinstalled.
100    */
101 /* #undef HAVE_DCGETTEXT */
102
103 /* Define to 1 if you have the declaration of `feof_unlocked', and to 0 if you
104    don't. */
105 #define HAVE_DECL_FEOF_UNLOCKED 0
106
107 /* Define to 1 if you have the declaration of `fgets_unlocked', and to 0 if
108    you don't. */
109 #define HAVE_DECL_FGETS_UNLOCKED 0
110
111 /* Define to 1 if you have the declaration of `getc_unlocked', and to 0 if you
112    don't. */
113 #define HAVE_DECL_GETC_UNLOCKED 0
114
115 /* Define if you have the prototype for function `istreambuf_iterator' */
116 #define HAVE_DECL_ISTREAMBUF_ITERATOR 1
117
118 /* Define if you have the prototype for function `mkstemp' */
119 /* #undef HAVE_DECL_MKSTEMP */
120
121 /* Define to 1 if you have the declaration of `_snprintf', and to 0 if you
122    don't. */
123 #define HAVE_DECL__SNPRINTF 1
124
125 /* Define to 1 if you have the declaration of `_snwprintf', and to 0 if you
126    don't. */
127 #define HAVE_DECL__SNWPRINTF 1
128
129 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
130    */
131 /* #undef HAVE_DIRENT_H 1 */
132
133 /* Define to 1 if you have the <dlfcn.h> header file. */
134 /* #undef HAVE_DLFCN_H */
135
136 /* Define to 1 if you have the <flimage.h> header file. */
137 /* #undef HAVE_FLIMAGE_H */
138
139 /* Define to 1 if you have the `fwprintf' function. */
140 #define HAVE_FWPRINTF 1
141
142 /* Define to 1 if you have the `getcwd' function. */
143 #define HAVE_GETCWD 1
144
145 /* Define to 1 if you have the `getegid' function. */
146 #define HAVE_GETEGID 1
147
148 /* Define to 1 if you have the `geteuid' function. */
149 #define HAVE_GETEUID 1
150
151 /* Define to 1 if you have the `getgid' function. */
152 #define HAVE_GETGID 1
153
154 /* Define to 1 if you have the `getpagesize' function. */
155 #define HAVE_GETPAGESIZE 1
156
157 /* Define if the GNU gettext() function is already present or preinstalled. */
158 /* #undef HAVE_GETTEXT */
159
160 /* Define to 1 if you have the `getuid' function. */
161 #define HAVE_GETUID 1
162
163 /* Define if you have the iconv() function. */
164 #define HAVE_ICONV 1
165
166 /* Define if you have the 'intmax_t' type in <stdint.h> or <inttypes.h>. */
167 #define HAVE_INTMAX_T 1
168
169 /* Define if <inttypes.h> exists and doesn't clash with <sys/types.h>. */
170 #define HAVE_INTTYPES_H 1
171
172 /* Define if <inttypes.h> exists, doesn't clash with <sys/types.h>, and
173    declares uintmax_t. */
174 #define HAVE_INTTYPES_H_WITH_UINTMAX 1
175
176 /* Define to 1 if you have the <ios> header file. */
177 #define HAVE_IOS 1
178
179 /* Define to 1 if you have the <istream> header file. */
180 #define HAVE_ISTREAM 1
181
182 /* Define this if you have the kpsewhich program working on your system. */
183 #define HAVE_KPSEWHICH 1
184
185 /* Define if you have <langinfo.h> and nl_langinfo(CODESET). */
186 #define HAVE_LANGINFO_CODESET 1
187
188 /* Define if your <locale.h> file defines LC_MESSAGES. */
189 /* #undef HAVE_LC_MESSAGES */
190
191 /* Define this if you have the AikSaurus library */
192 /* #undef HAVE_LIBAIKSAURUS */
193
194 /* Define to 1 if you have the `c' library (-lc). */
195 #define HAVE_LIBC 1
196
197 /* Define to 1 if you have the `m' library (-lm). */
198 #define HAVE_LIBM 1
199
200 /* Define to 1 if you have the <limits> header file. */
201 #define HAVE_LIMITS 1
202
203 /* Define to 1 if you have the <limits.h> header file. */
204 #define HAVE_LIMITS_H 1
205
206 /* Define to 1 if you have the <locale> header file. */
207 #define HAVE_LOCALE 1
208
209 /* Define to 1 if you have the <locale.h> header file. */
210 #define HAVE_LOCALE_H 1
211
212 /* Define if you have the 'long double' type. */
213 #define HAVE_LONG_DOUBLE 1
214
215 /* Define if you have the 'long long' type. */
216 #define HAVE_LONG_LONG 1
217
218 /* Define to 1 if you have the `lstat' function. */
219 /* #undef HAVE_LSTAT */
220
221 /* Define to 1 if you have the <malloc.h> header file. */
222 #define HAVE_MALLOC_H 1
223
224 /* Define to 1 if you have the <memory.h> header file. */
225 #define HAVE_MEMORY_H 1
226
227 /* Define to 1 if you have the `mempcpy' function. */
228 #define HAVE_MEMPCPY 1
229
230 /* Define to 1 if you have the `mkdir' function. */
231 /* #define HAVE_MKDIR */
232
233 /* Define to 1 if you have the `mkfifo' function. */
234 #define HAVE_MKFIFO 1
235
236 /* Define to 1 if you have the `mkstemp' function. */
237 /* #undef HAVE_MKSTEMP */
238
239 /* Define to 1 if you have the `mktemp' function. */
240 #define HAVE_MKTEMP 1
241
242 /* Define to 1 if you have a working `mmap' system call. */
243 /* #undef HAVE_MMAP */
244
245 /* Define to 1 if you have the `munmap' function. */
246 #define HAVE_MUNMAP 1
247
248 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
249 /* #undef HAVE_NDIR_H */
250
251 /* Define to 1 if you have the <nl_types.h> header file. */
252 #define HAVE_NL_TYPES_H 1
253
254 /* Define to 1 if you have the <ostream> header file. */
255 #define HAVE_OSTREAM 1
256
257 /* Define if your printf() function supports format strings with positions. */
258 #define HAVE_POSIX_PRINTF 1
259
260 /* Define to 1 if you have the <pspell/pspell.h> header file. */
261 /* #undef HAVE_PSPELL_PSPELL_H */
262
263 /* Define to 1 if you have the `putenv' function. */
264 #define HAVE_PUTENV 1
265
266 /* Define to 1 if you have the `readlink' function. */
267 /* #undef HAVE_READLINK */
268
269 /* Define to 1 if you have the `setenv' function. */
270 /* #undef HAVE_SETENV 1 */
271
272 /* Define to 1 if you have the `setlocale' function. */
273 #define HAVE_SETLOCALE 1
274
275 /* Define to 1 if you have the `snprintf' function. */
276 #define HAVE_SNPRINTF 1
277
278 /* Define to 1 if you have the <sstream> header file. */
279 #define HAVE_SSTREAM 1
280
281 /* Define to 1 if you have the <stddef.h> header file. */
282 #define HAVE_STDDEF_H 1
283
284 /* Define to 1 if you have the <stdint.h> header file. */
285 #define HAVE_STDINT_H 1
286
287 /* Define if <stdint.h> exists, doesn't clash with <sys/types.h>, and declares
288    uintmax_t. */
289 #define HAVE_STDINT_H_WITH_UINTMAX 1
290
291 /* Define to 1 if you have the <stdlib.h> header file. */
292 #define HAVE_STDLIB_H 1
293
294 /* Define if you have a conforming std::count template, otherwise HP version
295    of count template is assumed. */
296 #define HAVE_STD_COUNT 1
297
298 /* Define to 1 if you have the `stpcpy' function. */
299 #define HAVE_STPCPY 1
300
301 /* Define to 1 if you have the `strcasecmp' function. */
302 #define HAVE_STRCASECMP 1
303
304 /* Define to 1 if you have the `strdup' function. */
305 #define HAVE_STRDUP 1
306
307 /* Define to 1 if you have the `strerror' function. */
308 #define HAVE_STRERROR 1
309
310 /* Define to 1 if you have the <strings.h> header file. */
311 #define HAVE_STRINGS_H 1
312
313 /* Define to 1 if you have the <string.h> header file. */
314 #define HAVE_STRING_H 1
315
316 /* Define to 1 if you have the `strtoul' function. */
317 #define HAVE_STRTOUL 1
318
319 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
320    */
321 /* #undef HAVE_SYS_DIR_H */
322
323 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
324    */
325 /* #undef HAVE_SYS_NDIR_H */
326
327 /* Define to 1 if you have the <sys/param.h> header file. */
328 #define HAVE_SYS_PARAM_H 1
329
330 /* Define to 1 if you have the <sys/select.h> header file. */
331 /* #undef HAVE_SYS_SELECT_H */
332
333 /* Define to 1 if you have the <sys/socket.h> header file. */
334 #define HAVE_SYS_SOCKET_H 1
335
336 /* Define to 1 if you have the <sys/stat.h> header file. */
337 #define HAVE_SYS_STAT_H 1
338
339 /* Define to 1 if you have the <sys/time.h> header file. */
340 #define HAVE_SYS_TIME_H 1
341
342 /* Define to 1 if you have the <sys/types.h> header file. */
343 #define HAVE_SYS_TYPES_H 1
344
345 /* Define to 1 if you have the `tsearch' function. */
346 #define HAVE_TSEARCH 1
347
348 /* Define if you have the 'uintmax_t' type in <stdint.h> or <inttypes.h>. */
349 #define HAVE_UINTMAX_T 1
350
351 /* Define to 1 if you have the <unistd.h> header file. */
352 /*#undef HAVE_UNISTD_H 1*/
353
354 /* Define if you have the 'unsigned long long' type. */
355 #define HAVE_UNSIGNED_LONG_LONG 1
356
357 /* Define if you have the 'wchar_t' type. */
358 #define HAVE_WCHAR_T 1
359
360 /* Define to 1 if you have the `wcslen' function. */
361 #define HAVE_WCSLEN 1
362
363 /* Define if you have the 'wint_t' type. */
364 #define HAVE_WINT_T 1
365
366 /* Define to 1 if you have the <X11/flimage.h> header file. */
367 /* #undef HAVE_X11_FLIMAGE_H */
368
369 /* Define to 1 if you have the <zlib.h> header file. */
370 #define HAVE_ZLIB_H 1
371
372 /* Define to 1 if you have the `_mkdir' function. */
373 #define HAVE__MKDIR 1
374
375 /* Define to 1 if you have the `__argz_count' function. */
376 /* #undef HAVE___ARGZ_COUNT */
377
378 /* Define to 1 if you have the `__argz_next' function. */
379 /* #undef HAVE___ARGZ_NEXT */
380
381 /* Define to 1 if you have the `__argz_stringify' function. */
382 /* #undef HAVE___ARGZ_STRINGIFY */
383
384 /* Define to 1 if you have the `__fsetlocking' function. */
385 /* #undef HAVE___FSETLOCKING */
386
387 /* Define as const if the declaration of iconv() needs const. */
388 #define ICONV_CONST 
389
390 /* Define if integer division by zero raises signal SIGFPE. */
391 #define INTDIV0_RAISES_SIGFPE 1
392
393 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
394    */
395 /* #undef MAJOR_IN_MKDEV */
396
397 /* Define to 1 if `major', `minor', and `makedev' are declared in
398    <sysmacros.h>. */
399 /* #undef MAJOR_IN_SYSMACROS */
400
401 /* Define if mkdir takes only one argument. */
402 /* #undef MKDIR_TAKES_ONE_ARG */
403
404 /* Define if you have modern standard-compliant STL streams */
405 #define MODERN_STL_STREAMS 1
406
407 /* Name of package */
408 #define PACKAGE "lyx"
409
410 /* Define to the address where bug reports for this package should be sent. */
411 #define PACKAGE_BUGREPORT "lyx-devel@lists.lyx.org"
412
413 /* Define to the full name of this package. */
414 #define PACKAGE_NAME "lyx"
415
416 /* Define to the full name and version of this package. */
417 #define PACKAGE_STRING "lyx 1.4.0cvs"
418
419 /* Define to the one symbol short name of this package. */
420 #define PACKAGE_TARNAME "lyx"
421
422 /* Define to the version of this package. */
423 #define PACKAGE_VERSION "1.4.0cvs"
424
425 /* Define if <inttypes.h> exists and defines unusable PRI* macros. */
426 /* #undef PRI_MACROS_BROKEN */
427
428 /* Define as the return type of signal handlers (`int' or `void'). */
429 #define RETSIGTYPE void
430
431 /* Define to the type of arg 1 for `select'. */
432 #define SELECT_TYPE_ARG1 int
433
434 /* Define to the type of args 2, 3 and 4 for `select'. */
435 #define SELECT_TYPE_ARG234 (fd_set *)
436
437 /* Define to the type of arg 5 for `select'. */
438 #define SELECT_TYPE_ARG5 (struct timeval *)
439
440 /* Define as the maximum value of type 'size_t', if the system doesn't define
441    it. */
442 /* #undef SIZE_MAX */
443
444 /* If using the C implementation of alloca, define if you know the
445    direction of stack growth for your system; otherwise it will be
446    automatically deduced at run-time.
447         STACK_DIRECTION > 0 => grows toward higher addresses
448         STACK_DIRECTION < 0 => grows toward lower addresses
449         STACK_DIRECTION = 0 => direction of growth unknown */
450 /* #undef STACK_DIRECTION */
451
452 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
453 /* #undef STAT_MACROS_BROKEN */
454
455 /* Define to 1 if you have the ANSI C header files. */
456 #define STDC_HEADERS 1
457
458 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
459 #define TIME_WITH_SYS_TIME 1
460
461 /* Define as 1 to use the aspell library */
462 /* #undef USE_ASPELL */
463
464 /* Define as 1 if you want to support compressed files. */
465 /* #undef USE_COMRESSION */
466
467 /* Define if you want to be able to load jpeg images natively */
468 #define USE_JPEG_IMAGE_LOADER 1
469
470 /* Define to 1 if LyX should use a MacOS X application bundle file layout */
471 /* #undef USE_MACOSX_PACKAGING */
472
473 /* Define to 1 if LyX should use a POSIX-style file layout */
474 /* #undef USE_POSIX_PACKAGING */
475
476 /* Define as 1 to use the pspell library */
477 /* #undef USE_PSPELL */
478
479 /* Define to 1 if LyX should use a Windows-style file layout */
480 #define USE_WINDOWS_PACKAGING 1
481
482 /* Version number of package */
483 #define VERSION "1.4.0cvs"
484
485 /* Define this if you want to see the warning directives put here and there by
486    the developpers to get attention */
487 /* #undef WITH_WARNINGS */
488
489 /* Define to 1 if the X Window System is missing or not being used. */
490 /* #undef X_DISPLAY_MISSING */
491
492 /* Define to 1 if on AIX 3.
493    System headers sometimes define this.
494    We just want to avoid a redefinition error message.  */
495 #ifndef _ALL_SOURCE
496 /* # undef _ALL_SOURCE */
497 #endif
498
499 /* libstdc++ concept checking */
500 /* #undef _GLIBCPP_CONCEPT_CHECKS */
501
502 /* libstdc++ concept checking */
503 /* #undef _GLIBCXX_CONCEPT_CHECKS */
504
505 /* libstdc++ debug mode */
506 /* #undef _GLIBCXX_DEBUG */
507
508 /* libstdc++ pedantic debug mode */
509 /* #undef _GLIBCXX_DEBUG_PEDANTIC */
510
511 /* Define to empty if `const' does not conform to ANSI C. */
512 /* #undef const */
513
514 /* Define to nothing if your compiler does not understand the 'explicit'
515    directive */
516 /* #undef explicit */
517
518 /* Define to `int' if <sys/types.h> doesn't define. */
519 /* #undef gid_t */
520
521 /* Define to `__inline__' or `__inline' if that's what the C compiler
522    calls it, or to nothing if 'inline' is not supported under any name.  */
523 #ifndef __cplusplus
524 /* #undef inline */
525 #endif
526
527 /* Define to `int' if <sys/types.h> does not define. */
528 /* #undef mode_t */
529
530 /* Define to `long' if <sys/types.h> does not define. */
531 /* #undef off_t */
532
533 /* Define to `int' if <sys/types.h> does not define. */
534 #define pid_t int
535
536 /* Define as the type of the result of subtracting two pointers, if the system
537    doesn't define it. */
538 /* #undef ptrdiff_t */
539
540 /* Define to empty if the C compiler doesn't support this keyword. */
541 /* #undef signed */
542
543 /* Define to `unsigned' if <sys/types.h> does not define. */
544 /* #undef size_t */
545
546 /* Define to `int' if <sys/types.h> doesn't define. */
547 /* #undef uid_t */
548
549 /* Define to unsigned long or unsigned long long if <stdint.h> and
550    <inttypes.h> don't define. */
551 /* #undef uintmax_t */
552
553
554 /************************************************************
555  ** You should not need to change anything beyond this point */
556
557 #ifndef HAVE_STRERROR
558 #if defined(__cplusplus)
559 extern "C"
560 #endif
561 char * strerror(int n);
562 #endif
563
564 #ifdef HAVE_MKSTEMP
565 #ifndef HAVE_DECL_MKSTEMP
566 #if defined(__cplusplus)
567 extern "C"
568 #endif
569 int mkstemp(char*);
570 #endif
571 #endif
572
573 #ifdef __EMX__
574 #include "support/os2_defines.h"
575 #endif
576
577 #if defined(HAVE_OSTREAM) && defined(HAVE_LOCALE) && defined(HAVE_SSTREAM)
578 #define USE_BOOST_FORMAT 1
579 #else
580 #define USE_BOOST_FORMAT 0
581 #endif
582
583 #define BOOST_USER_CONFIG <config.h>
584
585 #if defined(ENABLE_ASSERTIONS)
586 #define BOOST_ENABLE_ASSERT_HANDLER 1
587 #else
588 #define BOOST_DISABLE_ASSERTS 1
589 #endif
590
591 #define BOOST_DISABLE_THREADS 1
592 #define BOOST_NO_WREGEX 1
593 #define BOOST_NO_WSTRING 1
594
595 #endif
596