]> git.saurik.com Git - wxWidgets.git/blame - setup.h_vms
use dummy.cpp with eVC, too
[wxWidgets.git] / setup.h_vms
CommitLineData
0db9d8d2
JJ
1/*****************************************************************************
2 * *
3 * Template for the set.h file for VMS *
4 * Created from setup.h_in *
5 * Author : J.Jansen (joukj@hrem.stm.tudelft.nl) *
6 * Date : 9 November 1999 *
7 * *
8 *****************************************************************************/
9
10/* This define (__WX_SETUP_H__) is used both to insure setup.h is included
11 * only once and to indicate that we are building using configure. */
12#ifndef __WX_SETUP_H__
13#define __WX_SETUP_H__
14
15#ifdef __GNUG__
16#pragma interface
17#endif
18
4dff3400
JJ
19#include <wx/vms_x_fix.h>
20
0db9d8d2
JJ
21/* never undefine inline or const keywords for C++ compilation */
22#ifndef __cplusplus
23
24/* Define to empty if the keyword does not work. */
25#undef const
26
27/* Define as __inline if that's what the C compiler calls it. */
28#undef inline
29
30#endif /* __cplusplus */
31
68874acf
JJ
32/* fill in with the string wxGetOsDescription() will return */
33#define WXWIN_OS_DESCRIPTION "OpenVMS"
34
33381c82
JJ
35/* the installation location prefix from configure */
36#undef wxINSTALL_PREFIX
37
b2ddee86
JJ
38/* Define this to get extra features from GNU libc. */
39#undef _GNU_SOURCE
40
0db9d8d2
JJ
41/* Define to `int' if <sys/types.h> doesn't define. */
42#undef gid_t
43
0db9d8d2
JJ
44/* Define to `int' if <sys/types.h> doesn't define. */
45#undef mode_t
46
47/* Define to `long' if <sys/types.h> doesn't define. */
48#undef off_t
49
50/* Define to `int' if <sys/types.h> doesn't define. */
51#undef pid_t
52
53/* Define to `unsigned' if <sys/types.h> doesn't define. */
54#undef size_t
55
d51253e8 56/* Define if ssize_t type is available. */
44f3342e 57#define HAVE_SSIZE_T 1
d51253e8 58
0db9d8d2
JJ
59/* Define if you have the ANSI C header files. */
60#define STDC_HEADERS
61
62/* Define to `int' if <sys/types.h> doesn't define. */
63#undef uid_t
64
65/* Define if your processor stores words with the most significant
66 byte first (like Motorola and SPARC, unlike Intel and VAX). */
67#undef WORDS_BIGENDIAN
68
57b4050c
JJ
69/* Define this if you want to use GPE features */
70/* #undef __WXGPE__ */
71
6804a3f7
JJ
72/* Define this if your version of Motif is greater than 2.0 */
73/* #undef __WXMOTIF20__ */
74
09f8c2a0 75#ifdef __WXGTK__
1696c178 76/* Define this if your version of GTK+ is greater than 1.2 */
3fa056ab 77#define __WXGTK12__ 1
0db9d8d2 78
f6bcfd97
BP
79/* Define this if your version of GTK+ is greater than 1.2.7 */
80#define __WXGTK127__ 1
81
9755e73b 82/* Define this if your version of GTK+ is greater than 2.0 */
6804a3f7 83/* #undef __WXGTK20__ */
9755e73b
VS
84
85/* Define this if your version of GTK+ is greater than 2.4 */
86/* #undef __WXGTK24__ */
09f8c2a0 87#endif
1696c178 88
0db9d8d2
JJ
89/*
90 * Define to 1 for Unix[-like] system
91 */
92#define wxUSE_UNIX 1
93
94#define __UNIX__
6804a3f7 95
0db9d8d2 96#undef __AIX__
0db9d8d2 97#undef __BSD__
6804a3f7
JJ
98#undef __DARWIN__
99#undef __EMX__
0db9d8d2 100#undef __FREEBSD__
6804a3f7
JJ
101#undef __HPUX__
102#undef __LINUX__
103#undef __NETBSD__
2b5f62a0 104#undef __OPENBSD__
6804a3f7
JJ
105#undef __OSF__
106#undef __SGI__
107#undef __SOLARIS__
108#undef __SUN__
109#undef __SUNOS__
110#undef __SVR4__
111#undef __SYSV__
0db9d8d2 112#undef __ULTRIX__
6804a3f7
JJ
113#undef __UNIXWARE__
114#define __VMS__
115
116#undef __IA64__
117#define __ALPHA__
4b37e99a
JJ
118
119/* NanoX (with wxX11) */
120#define wxUSE_NANOX 0
0db9d8d2 121
283e4f28
JJ
122/* PowerPC Darwin & Mac OS X */
123#undef __POWERPC__
124
955b1191
JJ
125/* MS-DOS with DJGPP */
126#undef __DOS__
127
0db9d8d2
JJ
128/* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
129#ifndef __WINDOWS__
130#undef __WINDOWS__
131#endif
132
e004299a 133#ifndef __WIN95__
0db9d8d2 134#undef __WIN95__
e004299a 135#endif
abfcca57 136#ifndef __WIN32__
0db9d8d2 137#undef __WIN32__
abfcca57 138#endif
e004299a 139#ifndef __GNUWIN32__
0db9d8d2 140#undef __GNUWIN32__
e004299a
JJ
141#endif
142#ifndef STRICT
0db9d8d2 143#undef STRICT
e004299a
JJ
144#endif
145#ifndef WINVER
0db9d8d2 146#undef WINVER
e004299a 147#endif
0db9d8d2 148
9bea227d 149/* --- start common options --- */
181cbcf4 150
9bea227d
JJ
151
152#ifndef wxUSE_GUI
153 #define wxUSE_GUI 1
35e92fbf
JJ
154#endif
155
9bea227d
JJ
156
157#define WXWIN_COMPATIBILITY_2_2 1
158
159#define WXWIN_COMPATIBILITY_2_4 1
160
161#define wxDIALOG_UNIT_COMPATIBILITY 1
162
163
164
165#define wxUSE_DEBUG_CONTEXT 0
166
167#define wxUSE_MEMORY_TRACING 0
168
169#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
170
171#define wxUSE_DEBUG_NEW_ALWAYS 0
172
dbbd41ae 173#define wxUSE_ON_FATAL_EXCEPTION 0
68874acf 174
9bea227d 175#define wxUSE_STACKWALKER 0
0db9d8d2 176
ef0ed19e 177
9bea227d
JJ
178#ifndef wxUSE_UNICODE
179 #define wxUSE_UNICODE 0
180#endif
6804a3f7 181
9bea227d 182#define wxUSE_UNICODE_MSLU 0
4ebb542f 183
9bea227d 184#define wxUSE_WCHAR_T 1
ecfd48ca 185
8fa53e0e 186
9bea227d 187#define wxUSE_EXCEPTIONS 0
8fa53e0e 188
9bea227d 189#define wxUSE_EXTENDED_RTTI 0
f3858bf5 190
8f5a042b 191#define wxUSE_STL 0
9bea227d
JJ
192
193#define wxUSE_LOG 1
194
195#define wxUSE_LOGWINDOW 1
196
197#define wxUSE_LOGGUI 1
198
199#define wxUSE_LOG_DIALOG 0
200
201#define wxUSE_CMDLINE_PARSER 1
202
fb10f04c 203#define wxUSE_THREADS 1
0db9d8d2 204
9bea227d 205#define wxUSE_STREAMS 1
04272d58 206
9bea227d 207#define wxUSE_STD_IOSTREAM 0
181cbcf4 208
4b37e99a 209
9bea227d 210#define wxUSE_LONGLONG 1
0db9d8d2 211
9bea227d
JJ
212#define wxUSE_FILE 1
213#define wxUSE_FFILE 1
0db9d8d2 214
9bea227d
JJ
215#define wxUSE_FSVOLUME 1
216
217#define wxUSE_TEXTBUFFER 1
218
219#define wxUSE_TEXTFILE 1
220
221#define wxUSE_INTL 1
222
223#define wxUSE_DATETIME 1
224
225#define wxUSE_TIMER 1
226
227#define wxUSE_STOPWATCH 1
228
229#define wxUSE_CONFIG 1
230
231#define wxUSE_CONFIG_NATIVE 0
232
233#define wxUSE_DIALUP_MANAGER 1
234
235#define wxUSE_DYNLIB_CLASS 1
236
237#define wxUSE_DYNAMIC_LOADER 0
238
239#define wxUSE_SOCKETS 1
240
241#define wxUSE_FILESYSTEM 1
242
243#define wxUSE_FS_ZIP 1
244
245#define wxUSE_FS_INET 1
246
9e8e867f 247#define wxUSE_ARCHIVE_STREAMS 1
81f90336 248
9bea227d
JJ
249#define wxUSE_ZIPSTREAM 1
250
251#define wxUSE_ZLIB 1
252
253#define wxUSE_APPLE_IEEE 0
254
255#define wxUSE_JOYSTICK 0
256
257#define wxUSE_FONTMAP 1
258
259#define wxUSE_MIMETYPE 1
260
261#define wxUSE_PROTOCOL 1
262
263#define wxUSE_PROTOCOL_FILE 1
264#define wxUSE_PROTOCOL_FTP 1
265#define wxUSE_PROTOCOL_HTTP 1
266
267#define wxUSE_URL 1
268
269#define wxUSE_URL_NATIVE 0
270
271#define wxUSE_REGEX 0
272
273#define wxUSE_SYSTEM_OPTIONS 1
274
275#define wxUSE_SOUND 1
276
277#define wxUSE_MEDIACTRL 1
278
279#define wxUSE_QUICKTIME 1
280
281#define wxUSE_DIRECTSHOW 1
282
62af4df1
JJ
283#define wxUSE_GSTREAMER 0
284
9bea227d
JJ
285#define wxUSE_XRC 1
286
287#if wxUSE_XRC
288#define wxUSE_XML 1
289#else
290# define wxUSE_XML 1
291#endif
292
293
294#define wxUSE_CONTROLS 1
1a0d517e 295
dae752d4
JJ
296#ifdef __WXMOTIF__
297#define wxUSE_POPUPWIN 0
298#else
1a0d517e 299#define wxUSE_POPUPWIN 1
dae752d4 300#endif
1a0d517e 301
9bea227d
JJ
302#define wxUSE_TIPWINDOW 1
303
304#define wxUSE_BUTTON 1
305#define wxUSE_BMPBUTTON 1
306#define wxUSE_CALENDARCTRL 1
307#define wxUSE_CHECKBOX 1
308#define wxUSE_CHECKLISTBOX 1
309#define wxUSE_CHOICE 1
310#define wxUSE_COMBOBOX 1
311#define wxUSE_DATEPICKCTRL 1
312#define wxUSE_GAUGE 1
313#define wxUSE_LISTBOX 1
314#define wxUSE_LISTCTRL 1
315#define wxUSE_RADIOBOX 1
316#define wxUSE_RADIOBTN 1
317#define wxUSE_SCROLLBAR 1
318#define wxUSE_SLIDER 1
319#define wxUSE_SPINBTN 1
320#define wxUSE_SPINCTRL 1
321#define wxUSE_STATBOX 1
322#define wxUSE_STATLINE 1
323#define wxUSE_STATTEXT 1
324#define wxUSE_STATBMP 1
325#define wxUSE_TEXTCTRL 1
7712a6a5 326#if defined (__WXMOTIF__) || defined( __WXGTK__ )
9bea227d 327#define wxUSE_TOGGLEBTN 1
7712a6a5
JJ
328#else
329#define wxUSE_TOGGLEBTN 0
330#endif
9bea227d
JJ
331#define wxUSE_TREECTRL 1
332
333#define wxUSE_STATUSBAR 1
334
9bea227d 335#define wxUSE_NATIVE_STATUSBAR 0
9bea227d
JJ
336
337#define wxUSE_TOOLBAR 1
338#define wxUSE_TOOLBAR_NATIVE 1
339
340#define wxUSE_NOTEBOOK 1
341
342#define wxUSE_LISTBOOK 1
343
344#define wxUSE_CHOICEBOOK 1
345
346#define wxUSE_TAB_DIALOG 1
347
348#define wxUSE_GRID 1
349
350#define wxUSE_MINIFRAME 1
351
508e0acb 352
0db9d8d2
JJ
353#define wxUSE_ACCEL 1
354
9bea227d 355#define wxUSE_HOTKEY 1
1a0d517e 356
9bea227d 357#define wxUSE_CARET 1
1a0d517e 358
9bea227d 359#define wxUSE_DISPLAY 1
33381c82 360
9bea227d 361#define wxUSE_GEOMETRY 1
1a0d517e 362
9bea227d 363#define wxUSE_IMAGLIST 1
1a0d517e 364
9bea227d 365#define wxUSE_MENUS 1
508e0acb 366
9bea227d 367#define wxUSE_SASH 1
1a0d517e 368
9bea227d 369#define wxUSE_SPLITTER 1
1a0d517e 370
9bea227d
JJ
371#if defined (__WXMOTIF__) || defined( __WXX11__ )
372#define wxUSE_TOOLTIPS 0
373#else
374#define wxUSE_TOOLTIPS 1
375#endif
0db9d8d2 376
9bea227d 377#define wxUSE_VALIDATORS 1
0db9d8d2 378
0db9d8d2 379
9bea227d 380#define wxUSE_COMMON_DIALOGS 1
1a0d517e 381
9bea227d
JJ
382#define wxUSE_BUSYINFO 1
383
384#define wxUSE_CHOICEDLG 1
385
386#define wxUSE_COLOURDLG 1
1a0d517e 387
0db9d8d2
JJ
388#define wxUSE_DIRDLG 1
389
1a0d517e 390
9bea227d 391#define wxUSE_FILEDLG 1
1a0d517e 392
9bea227d
JJ
393#define wxUSE_FINDREPLDLG 1
394
395#define wxUSE_FONTDLG 1
396
397#define wxUSE_MSGDLG 1
398
399#define wxUSE_PROGRESSDLG 1
400
401#define wxUSE_STARTUP_TIPS 1
402
403#define wxUSE_TEXTDLG 1
404
405#define wxUSE_NUMBERDLG 1
1a0d517e 406
1a0d517e
JJ
407#define wxUSE_SPLASH 1
408
9bea227d 409#define wxUSE_WIZARDDLG 1
0db9d8d2 410
6804a3f7 411
9bea227d
JJ
412#define wxUSE_METAFILE 1
413#define wxUSE_ENH_METAFILE 1
414#define wxUSE_WIN_METAFILES_ALWAYS 1
415
416
417#define wxUSE_MDI 1
418
419#define wxUSE_DOC_VIEW_ARCHITECTURE 1
420
421#define wxUSE_MDI_ARCHITECTURE 1
422
423#define wxUSE_PRINTING_ARCHITECTURE 1
424
425#define wxUSE_HTML 1
426
427#define wxUSE_GLCANVAS 1
428
429
430#define wxUSE_CLIPBOARD 1
431
432#define wxUSE_DATAOBJ 1
433
434#ifdef __WXGTK__
435#define wxUSE_DRAG_AND_DROP 1
5f81e1e9 436#else
9bea227d 437#define wxUSE_DRAG_AND_DROP 0
5f81e1e9
JJ
438#endif
439
9bea227d
JJ
440#define wxUSE_ACCESSIBILITY 0
441
442
443#define wxUSE_SNGLINST_CHECKER 1
444
445#define wxUSE_DRAGIMAGE 1
446
447#define wxUSE_IPC 1
448
449#define wxUSE_HELP 1
450
451#define wxUSE_MS_HTML_HELP 0
452
453
454#define wxUSE_WXHTML_HELP 1
455
456#define wxUSE_RESOURCES 1
457
458/*
459 * Use Prolog IO
460 */
461#define wxUSE_PROLOGIO 1
462
463#define wxUSE_CONSTRAINTS 1
464
465
466#define wxUSE_SPLINES 1
467
468
469#define wxUSE_MOUSEWHEEL 1
470
471
472
473#define wxUSE_POSTSCRIPT 1
474
475#define wxUSE_AFM_FOR_POSTSCRIPT 1
476
9bea227d
JJ
477#define wxUSE_ODBC 1
478
479#define wxODBC_FWD_ONLY_CURSORS 1
480
481#define wxODBC_BACKWARD_COMPATABILITY 0
482
483
484#define REMOVE_UNUSED_ARG 1
485
486#define wxUSE_IOSTREAMH 1
487
1a0d517e 488
0db9d8d2 489
9bea227d 490#define wxUSE_IMAGE 1
fb10f04c 491
9bea227d 492#define wxUSE_LIBPNG 1
33381c82 493
9bea227d 494#define wxUSE_LIBJPEG 1
0db9d8d2 495
9bea227d 496#define wxUSE_LIBTIFF 1
0db9d8d2 497
9bea227d 498#define wxUSE_GIF 1
97b305b7 499
9bea227d 500#define wxUSE_PNM 1
4b37e99a 501
9bea227d
JJ
502#define wxUSE_PCX 1
503
504#define wxUSE_IFF 1
505
506#define wxUSE_XPM 1
507
508#define wxUSE_ICO_CUR 1
509
510#define wxUSE_PALETTE 1
511
512/* --- end common options --- */
513
514/* for some features we don't have dedicated configure switches, so just choose
515 * the common values automatically */
516#if (defined(__WIN95__) && !defined(__WXUNIVERSAL__)) || defined(__WXPM__)
517#define wxUSE_OWNER_DRAWN 1
518#endif
519
520#if defined(__WXPM__)
521#define wxUSE_OWNER_DRAWN 1
522#endif
4199367e 523
9bea227d
JJ
524/* enable rich edit under Win32 */
525#if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
526#define wxUSE_RICHEDIT 1
527#else
528#define wxUSE_RICHEDIT 0
529#endif
4199367e 530
0db9d8d2 531/*
9bea227d 532 * Supports bool type
0db9d8d2 533 */
9bea227d
JJ
534#define HAVE_BOOL
535
1a0d517e 536/*
9bea227d 537 * Define if your compiler supports the explicit keyword
1a0d517e 538 */
9bea227d
JJ
539#define HAVE_EXPLICIT 1
540
1a0d517e 541/*
9bea227d 542 * Define if your compiler supports const_cast<>()
1a0d517e 543 */
9bea227d
JJ
544#define HAVE_CONST_CAST 1
545
0f02d3d0 546/*
9bea227d 547 * Define if your compiler supports reinterpret_cast<>()
0f02d3d0 548 */
9bea227d
JJ
549#define HAVE_REINTERPRET_CAST 1
550
1a0d517e 551/*
9bea227d 552 * Define if your compiler supports const_cast<>()
1a0d517e 553 */
9bea227d
JJ
554#define HAVE_STATIC_CAST 1
555
0db9d8d2 556/*
9bea227d 557 * Define if your compiler has C99 va_copy
0db9d8d2 558 */
9bea227d
JJ
559#undef HAVE_VA_COPY
560
0db9d8d2 561/*
9bea227d 562 * Define if va_list type is an array
0db9d8d2 563 */
9bea227d
JJ
564#undef VA_LIST_IS_ARRAY
565
d2dfcfab 566/*
9bea227d 567 * Define if your compiler has std::wstring
d2dfcfab 568 */
9bea227d 569/* #unfine HAVE_STD_WSTRING */
44f3342e 570/*
9bea227d 571 * Define if your compiler has compliant std::string::compare
44f3342e 572 */
9bea227d 573#undef HAVE_STD_STRING_COMPARE
0db9d8d2 574/*
9bea227d 575 * Define if your compiler has <hash_map>
0db9d8d2 576 */
9bea227d 577#undef HAVE_HASH_MAP
1a0d517e 578/*
9bea227d 579 * Define if your compiler has <ext/hash_map>
1a0d517e 580 */
9bea227d 581#undef HAVE_EXT_HASH_MAP
0db9d8d2 582/*
9bea227d 583 * Define if your compiler has std::hash_map/hash_set
0db9d8d2 584 */
9bea227d 585#undef HAVE_STD_HASH_MAP
0db9d8d2 586/*
9bea227d 587 * Define if your compiler has __gnu_cxx::hash_map/hash_set
0db9d8d2 588 */
9bea227d
JJ
589#undef HAVE_GNU_CXX_HASH_MAP
590
0db9d8d2 591/*
9bea227d
JJ
592 * The built-in regex supports advanced REs in additional to POSIX's basic
593 * and extended. Your system regex probably won't support this, and in this
594 * case WX_NO_REGEX_ADVANCED should be defined.
0db9d8d2 595 */
9bea227d 596#undef WX_NO_REGEX_ADVANCED
0db9d8d2 597/*
9bea227d 598 * Use SDL for audio (Unix)
0db9d8d2 599 */
9bea227d 600#define wxUSE_LIBSDL 0
0db9d8d2 601/*
9bea227d 602 * Use GNOME print for printing under GTK+ 2.0
0db9d8d2 603 */
9bea227d 604#define wxUSE_LIBGNOMEPRINT 0
0db9d8d2 605/*
9bea227d 606 * Use iODBC
0db9d8d2 607 */
9bea227d 608#define wxUSE_BUILTIN_IODBC 0
0db9d8d2 609/*
9bea227d 610 * Use freetype
0db9d8d2 611 */
9bea227d 612#define wxUSE_FREETYPE 1
8f52ea33 613/*
9bea227d 614 * Have glibc2
8f52ea33 615 */
9bea227d 616#define wxHAVE_GLIBC2 0
1a0d517e 617/*
9bea227d 618 * Use libXpm
1a0d517e 619 */
9bea227d 620#define wxHAVE_LIB_XPM 1
0db9d8d2 621/*
0db9d8d2
JJ
622 * Use consistent PostScript fonts for AFM and printing (!)
623 */
0db9d8d2
JJ
624#define wxUSE_NORMALIZED_PS_FONTS 1
625
626/* compatibility */
627#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
628
629/*
9bea227d 630 * Use OpenGL
955b1191 631 */
9bea227d 632#define wxUSE_OPENGL 1
955b1191 633
f3858bf5
JJ
634/*
635 * Set to 1 to compile MS Windows XP theme engine support
636 */
637/* #define wxUSE_UXTHEME 1 */
638
639/*
640 * Set to 1 to auto-adapt to MS Windows XP themes where possible
641 * (notably, wxNotebook pages)
642 */
643/* #define wxUSE_UXTHEME_AUTO 1*/
644
0db9d8d2
JJ
645/*
646 * Work around a bug in GNU libc 5.x wcstombs() implementation.
647 *
648 * Note that you must link your programs with libc.a if you enable this and you
649 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
650 * thread-safe version of wcstombs()).
651 */
652#define wxUSE_WCSRTOMBS 0
653
654/*
655 * Use the new experimental implementation of wxString::Printf()?
656 *
657 * Warning: enabling this may cause internal compiler errors with gcc!
658 */
659#define wxUSE_EXPERIMENTAL_PRINTF 0
660
0db9d8d2
JJ
661/*
662 * Use wxGetResource & wxWriteResource (change .Xdefaults)
663 */
664#define wxUSE_X_RESOURCES 1
0f02d3d0
JJ
665/*
666 * Use OLE (MSW only)
a73ce5bf 667 */
9bea227d 668#define wxUSE_OLE 0
0db9d8d2
JJ
669
670/* for compatibility */
671#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
672
673/*
4b37e99a 674 * Use wxWindows help facility
0db9d8d2
JJ
675 */
676#define wxUSE_HELP 1
1a0d517e
JJ
677/*
678 * Use built-in HTML-based help controller
679 */
680#define wxUSE_WXHTML_HELP 1
4b37e99a
JJ
681/*
682 * Use MS HTML Help controller (win32)
683 */
684#define wxUSE_MS_HTML_HELP 0
2b5b100a
JJ
685/*
686 * Use MS HTML Help via libmspack (Unix)
687 */
688#define wxUSE_LIBMSPACK 1
1a0d517e 689
0db9d8d2
JJ
690/*
691 * Matthews garbage collection (used for MrEd?)
692 */
693#define WXGARBAGE_COLLECTION_ON 1
9a8f0513 694
dac5a9c9
JJ
695/*
696 * wxWebKitCtrl
697 */
698#define wxUSE_WEBKIT 1
699
0db9d8d2
JJ
700/*
701 * The const keyword is being introduced more in wxWindows.
702 * You can use this setting to maintain backward compatibility.
703 * If 0: will use const wherever possible.
704 * If 1: will use const only where necessary
705 * for precompiled headers to work.
706 * If 2: will be totally backward compatible, but precompiled
707 * headers may not work and program size will be larger.
708 */
709#define CONST_COMPATIBILITY 0
710
fb10f04c
JJ
711/* define with the name of timezone variable */
712#undef WX_TIMEZONE
713
0db9d8d2 714/* The type of 3rd argument to getsockname() - usually size_t or int */
fb10f04c 715#define SOCKLEN_T size_t
0db9d8d2 716
13973396
JJ
717/* The type of 5th argument to getsockopt() - usually size_t or int */
718#define SOCKOPTLEN_T size_t
719
e004299a
JJ
720/* The type of statvfs(2) argument */
721#undef WX_STATFS_T
722
4b37e99a
JJ
723/* The signal handler prototype */
724#undef wxTYPE_SA_HANDLER
725
0db9d8d2
JJ
726/* gettimeofday() usually takes 2 arguments, but some really old systems might
727 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
728#undef WX_GETTIMEOFDAY_NO_TZ
729
4b37e99a 730/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
b8ad9f18
JJ
731#define WX_GMTOFF_IN_TM
732
2b5f62a0
VZ
733/* Define if you have poll(2) function */
734#define HAVE_POLL 1
735
181cbcf4
JJ
736/* Define if you have pw_gecos field in struct passwd */
737#undef HAVE_PW_GECOS
738
9bea227d
JJ
739/* Define if you have __cxa_demangle() in <cxxabi.h> */
740#undef HAVE_CXA_DEMANGLE
741
0db9d8d2 742/* Define if you have dlopen() */
181cbcf4 743#define HAVE_DLOPEN 1
0db9d8d2
JJ
744
745/* Define if you have gettimeofday() */
746#define HAVE_GETTIMEOFDAY
747
748/* Define if you have ftime() */
749#define HAVE_FTIME
750
d38b5757
JJ
751/* Define if you have support for large (64 bit size) files */
752#undef HAVE_LARGEFILE_SUPPORT
753
0db9d8d2
JJ
754/* Define if you have localtime() */
755#define HAVE_LOCALTIME
756
757/* Define if you have nanosleep() */
758#undef HAVE_NANOSLEEP
759
760/* Define if you have sched_yield */
761#undef HAVE_SCHED_YIELD
762
4b37e99a
JJ
763/* Define if you have pthread_mutexattr_t and functions to work with it */
764#undef HAVE_PTHREAD_MUTEXATTR_T
765
766/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
767#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
768
0db9d8d2 769/* Define if you have pthread_cancel */
fb10f04c 770#define HAVE_PTHREAD_CANCEL 1
0db9d8d2 771
181cbcf4
JJ
772/* Define if you have sigaction() */
773#define HAVE_SIGACTION 1
774
775/* Define if you have sigemptyset() */
776#define HAVE_SIGEMPTYSET 1
777
97b305b7
JJ
778/* Define if you have the putenv function. */
779#define HAVE_PUTENV 1
780
781/* Define if you have the setenv function. */
782#undef HAVE_SETENV
783
68874acf
JJ
784/* Define if you have shl_load() */
785#undef HAVE_SHL_LOAD
786
33381c82
JJ
787/* define if you have statfs function */
788#undef HAVE_STATFS
789
4b37e99a
JJ
790/* define if you have statvfs function */
791#undef HAVE_STATVFS
792
fb10f04c
JJ
793/* Define if you have strptime() */
794#define HAVE_STRPTIME 1
795
0db9d8d2 796/* Define if you have all functions to set thread priority */
fb10f04c 797#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
0db9d8d2
JJ
798
799/* Define if you can specify exit functions to a thread */
fb10f04c 800#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
0db9d8d2 801
68874acf
JJ
802/* Define if you have timegm() function */
803#undef HAVE_TIMEGM
0db9d8d2
JJ
804
805/* Define if you have vsnprintf() */
806#undef HAVE_VSNPRINTF
807
ec0d6da3
VZ
808/* Define if you have vsnprintf() declaration in the header */
809#undef HAVE_VSNPRINTF_DECL
810
0db9d8d2 811/* Define if you have usleep() */
508e0acb 812#define HAVE_USLEEP 1
0db9d8d2
JJ
813
814/* Define if you have wcslen function */
508e0acb 815#define HAVE_WCSLEN 1
0db9d8d2
JJ
816
817/* define if you have vsscanf function */
818#undef HAVE_VSSCANF
819
820/* The number of bytes in a char. */
821#define SIZEOF_CHAR 1
822
181cbcf4
JJ
823/* The number of bytes in a wchar_t. */
824#define SIZEOF_WCHAR_T 4
825
0db9d8d2
JJ
826/* The number of bytes in a int. */
827#define SIZEOF_INT 4
828
a369f7c8
VZ
829/* The number of bytes in a pointer. */
830#define SIZEOF_VOID_P 4
0db9d8d2
JJ
831
832/* The number of bytes in a long. */
833#define SIZEOF_LONG 4
834
835/* The number of bytes in a long long. */
836#define SIZEOF_LONG_LONG 8
837
838/* The number of bytes in a short. */
839#define SIZEOF_SHORT 2
840
a369f7c8
VZ
841/* The number of bytes in a size_t. */
842#define SIZEOF_SIZE_T 4
843
1a0d517e
JJ
844/* Define if size_t on your machine is the same type as unsigned int. */
845#define wxSIZE_T_IS_UINT 1
846
847/* Define if size_t on your machine is the same type as unsigned long. */
848#undef wxSIZE_T_IS_ULONG
849
0db9d8d2 850/* Define if you have the dlopen function. */
181cbcf4
JJ
851#define HAVE_DLOPEN 1
852
853/* Define if you have the dlerror function. */
854#define HAVE_DLERROR 1
0db9d8d2 855
4b37e99a
JJ
856/* Define if you have Posix fnctl() function. */
857#define HAVE_FCNTL 1
858
859/* Define if you have BSD flock() function. */
860#undef HAVE_FLOCK
861
0db9d8d2 862/* Define if you have the gethostname function. */
508e0acb 863#define HAVE_GETHOSTNAME 1
0db9d8d2
JJ
864
865/* Define if you have the inet_addr function. */
508e0acb 866#define HAVE_INET_ADDR 1
0db9d8d2
JJ
867
868/* Define if you have the inet_aton function. */
869#undef HAVE_INET_ATON
870
4b37e99a
JJ
871/* Define if you have the mktemp function. */
872#define HAVE_MKTEMP 1
873
874/* Define if you have the mkstemp function. */
875#define HAVE_MKSTEMP 1
876
0db9d8d2
JJ
877/* Define if you have the nanosleep function. */
878#undef HAVE_NANOSLEEP
879
4b37e99a
JJ
880/* Define if you have the putenv function. */
881#define HAVE_PUTENV 1
882
883/* Define if you have the setenv function. */
884#undef HAVE_SETENV
885
0db9d8d2
JJ
886/* Define if you have the shl_load function. */
887#undef HAVE_SHL_LOAD
888
889/* Define if you have strtok_r function. */
890#undef HAVE_STRTOK_R
891
68874acf 892/* Define if you have thr_setconcurrency function */
181cbcf4 893#undef HAVE_THR_SETCONCURRENCY
68874acf 894
0db9d8d2 895/* Define if you have the uname function. */
508e0acb 896#define HAVE_UNAME 1
0db9d8d2
JJ
897
898/* Define if you have the usleep function. */
508e0acb 899#define HAVE_USLEEP 1
0db9d8d2 900
0db9d8d2
JJ
901/* Define if you have the <X11/XKBlib.h> header file. */
902#undef HAVE_X11_XKBLIB_H
903
9988e82e
JJ
904/* Define if you have the fnmatch() function */
905#undef HAVE_FNMATCH
906
0db9d8d2
JJ
907/* Define if you have the <fnmatch.h> header file. */
908#undef HAVE_FNMATCH_H
909
910/* Define if you have the <iostream> header file. */
911#undef HAVE_IOSTREAM
912
913/* Define if you have the <linux/joystick.h> header file. */
914#undef HAVE_LINUX_JOYSTICK_H
915
916/* Define if you have the <sched.h> header file. */
917#undef HAVE_SCHED_H
918
0db9d8d2 919/* Define if you have the <unistd.h> header file. */
508e0acb 920#define HAVE_UNISTD_H 1
0db9d8d2 921
4b37e99a
JJ
922/* Define if you have the <fcntl.h> header file. */
923#define HAVE_FCNTL_H 1
924
0db9d8d2 925/* Define if you have the <wchar.h> header file. */
508e0acb 926#define HAVE_WCHAR_H 1
0db9d8d2
JJ
927
928/* Define if you have the <wcstr.h> header file. */
929#undef HAVE_WCSTR_H
930
4b37e99a
JJ
931/* Define if you have the <wctype.h> header file. */
932#undef HAVE_WCTYPE_H
933
35e92fbf 934/* Define if you have the <iconv.h> header file and iconv() symbol. */
181cbcf4
JJ
935#define HAVE_ICONV_H 1
936
35e92fbf
JJ
937/* Define as "const" if the declaration of iconv() needs const. */
938#undef ICONV_CONST
939
181cbcf4
JJ
940/* Define if you have the <langinfo.h> header file. */
941#define HAVE_LANGINFO_H 1
942
0f02d3d0
JJ
943/* Define if you have the <w32api.h> header file (mingw,cygwin). */
944#undef HAVE_W32API_H
945
f3858bf5
JJ
946/* Define if you have the <esd.h> header file. */
947/* #undef HAVE_ESD_H */
948
9cc454c0
JJ
949/* Define if you have the <sys/soundcard.h> header file. */
950/* #undef HAVE_SYS_SOUNDCARD_H */
951
9e4e191a
JJ
952/* Define if you have wcsrtombs() function */
953#define HAVE_WCSRTOMBS 1
954
fbe47c7b
VS
955/* Define this if you have wputc() */
956#define HAVE_WPUTC 1
957
958/* Define this if you have wputchar() */
959#define HAVE_WPUTCHAR 1
960
961/* Define this if you have putws() */
962#define HAVE_PUTWS 1
963
964/* Define this if you have fputws() */
965#define HAVE_FPUTWS 1
b2ddee86 966
1c2d1459
VZ
967/* Define this if you have strcasecmp() function in <string.h> */
968#define HAVE_STRCASECMP_IN_STRING_H 1
969
970/* Define this if you have strcasecmp() function in <strings.h> */
971#undef HAVE_STRCASECMP_IN_STRINGS_H
972
b2ddee86
JJ
973/* Define this if you have wprintf() and related functions */
974#define HAVE_WPRINTF 1
975
976/* Define this if you have vswprintf() and related functions */
977#define HAVE_VSWPRINTF 1
978
1507adbb
JJ
979/* Define this if you have _vsnwprintf */
980#undef HAVE__VSNWPRINTF
981
68874acf
JJ
982/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
983#undef HAVE_XIM
984
70a7bd90 985/* Define if fseeko and ftello are available. */
f2ba3822
JJ
986#define HAVE_FSEEKO 1
987
988/* Define this is you have X11/extensions/shape.h */
989#define HAVE_XSHAPE 1
990
991/* Define this if you have type SPBCDATA */
992#undef HAVE_SPBCDATA
993
994/* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
995#undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
996
997/* Define if you have Pango xft support */
998#undef HAVE_PANGO_XFT
70a7bd90 999
b2ddee86
JJ
1000/* ---------------------------------------------------------------------
1001 Win32 adjustments section
1002 ---------------------------------------------------------------------
1003 */
1004
1005#ifdef __WIN32__
1006
1007/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1008 with wx/msw/setup.h */
1009#define wxUSE_XPM_IN_MSW wxUSE_XPM
1010
dbbd41ae
JJ
1011#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
1012
b2ddee86
JJ
1013#endif /* __WIN32__ */
1014
9e4e191a
JJ
1015/* --------------------------------------------------------*
1016 * This stuff is static, it doesn't get modified directly
1017 * by configure.
1018 */
1019
1020#include "wx/chkconf.h"
1021
1022/*
1023 define some constants identifying wxWindows version in more details t
1024 just the version number
1025*/
1026
1027/* wxLogChain class available */
1028#define wxHAS_LOG_CHAIN 1
1029
1030/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1031#define wxHAS_WORKING_GTK_DC_BLIT 1
1032
0db9d8d2 1033#endif /* __WX_SETUP_H__ */