]> git.saurik.com Git - wxWidgets.git/blame - setup.h_vms
Fix compilation error due to recent typedef changes
[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
56/* Define if you have the ANSI C header files. */
57#define STDC_HEADERS
58
59/* Define to `int' if <sys/types.h> doesn't define. */
60#undef uid_t
61
62/* Define if your processor stores words with the most significant
63 byte first (like Motorola and SPARC, unlike Intel and VAX). */
64#undef WORDS_BIGENDIAN
65
6804a3f7
JJ
66/* Define this if your version of Motif is greater than 2.0 */
67/* #undef __WXMOTIF20__ */
68
09f8c2a0 69#ifdef __WXGTK__
1696c178 70/* Define this if your version of GTK+ is greater than 1.2 */
3fa056ab 71#define __WXGTK12__ 1
0db9d8d2 72
f6bcfd97
BP
73/* Define this if your version of GTK+ is greater than 1.2.7 */
74#define __WXGTK127__ 1
75
1696c178 76/* Define this if your version of GTK+ is greater than 1.3 */
6804a3f7 77/* #undef __WXGTK20__ */
09f8c2a0 78#endif
1696c178 79
0db9d8d2
JJ
80/*
81 * Define to 1 for Unix[-like] system
82 */
83#define wxUSE_UNIX 1
84
85#define __UNIX__
6804a3f7 86
0db9d8d2 87#undef __AIX__
0db9d8d2 88#undef __BSD__
6804a3f7
JJ
89#undef __DARWIN__
90#undef __EMX__
0db9d8d2 91#undef __FREEBSD__
6804a3f7
JJ
92#undef __HPUX__
93#undef __LINUX__
94#undef __NETBSD__
2b5f62a0 95#undef __OPENBSD__
6804a3f7
JJ
96#undef __OSF__
97#undef __SGI__
98#undef __SOLARIS__
99#undef __SUN__
100#undef __SUNOS__
101#undef __SVR4__
102#undef __SYSV__
0db9d8d2 103#undef __ULTRIX__
6804a3f7
JJ
104#undef __UNIXWARE__
105#define __VMS__
106
107#undef __IA64__
108#define __ALPHA__
4b37e99a
JJ
109
110/* NanoX (with wxX11) */
111#define wxUSE_NANOX 0
0db9d8d2 112
283e4f28
JJ
113/* PowerPC Darwin & Mac OS X */
114#undef __POWERPC__
115
955b1191
JJ
116/* MS-DOS with DJGPP */
117#undef __DOS__
118
0db9d8d2
JJ
119/* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
120#ifndef __WINDOWS__
121#undef __WINDOWS__
122#endif
123
e004299a 124#ifndef __WIN95__
0db9d8d2 125#undef __WIN95__
e004299a 126#endif
abfcca57 127#ifndef __WIN32__
0db9d8d2 128#undef __WIN32__
abfcca57 129#endif
e004299a 130#ifndef __GNUWIN32__
0db9d8d2 131#undef __GNUWIN32__
e004299a
JJ
132#endif
133#ifndef STRICT
0db9d8d2 134#undef STRICT
e004299a
JJ
135#endif
136#ifndef WINVER
0db9d8d2 137#undef WINVER
e004299a 138#endif
0db9d8d2 139
181cbcf4 140/* enable native status bar under Win32 */
61e6020f 141#if defined(__WIN95__) && !defined(__WXUNIVERSAL__)
181cbcf4 142#define wxUSE_NATIVE_STATUSBAR 1
61e6020f 143#define wxUSE_OWNER_DRAWN 1
181cbcf4
JJ
144#endif
145
35e92fbf
JJ
146#if defined(__WXPM__)
147#define wxUSE_OWNER_DRAWN 1
148#endif
149
181cbcf4 150/* enable rich edit under Win32 */
b39dbf34 151#if defined(__WIN95__) && !defined(__WINE__) && !defined(__GNUWIN32_OLD__)
181cbcf4
JJ
152#define wxUSE_RICHEDIT 1
153#else
68874acf 154#define wxUSE_RICHEDIT 0
181cbcf4 155#endif
68874acf 156
0db9d8d2
JJ
157/*
158 * Supports bool type
159 */
160#define HAVE_BOOL
161
ef0ed19e
JJ
162/*
163 * Define if your compiler supports the explicit keyword
164 */
165#define HAVE_EXPLICIT 1
166
6804a3f7
JJ
167/*
168 * Define if your compiler supports const_cast<>()
169 */
170#define HAVE_CONST_CAST 1
171
ecfd48ca
VZ
172/*
173 * Define if your compiler supports const_cast<>()
174 */
175#define HAVE_STATIC_CAST 1
176
f3858bf5
JJ
177/*
178 * Define if your compiler has std::wstring
179 */
180/* #unfine HAVE_STD_WSTRING */
181/*
182 * Define if your compiler has compilant std::string::compare
183 */
184/* #undef HAVE_STD_STRING_COMPARE */
185
8f5a042b
JJ
186/*
187 * use STL for containers and wxString
188 */
189#define wxUSE_STL 0
33381c82
JJ
190/*
191 * Use regex support
192 */
193#define wxUSE_REGEX 0
0aa7fa9a
VS
194/*
195 * The built-in regex supports advanced REs in additional to POSIX's basic
196 * and extended. Your system regex probably won't support this, and in this
197 * case WX_NO_REGEX_ADVANCED should be defined.
198 */
199#undef WX_NO_REGEX_ADVANCED
f3858bf5
JJ
200/*
201 * Use XML support
202 */
203#define wxUSE_XML 1
0db9d8d2
JJ
204/*
205 * Use zlib
206 */
207#define wxUSE_ZLIB 1
208/*
209 * Use libpng
210 */
211#define wxUSE_LIBPNG 1
212/*
213 * Use libjpeg
214 */
215#define wxUSE_LIBJPEG 1
68874acf
JJ
216/*
217 * Use libtiff
218 */
219#define wxUSE_LIBTIFF 1
9cc454c0
JJ
220/*
221 * Use SDL for audio (Unix)
222 */
223#define wxUSE_LIBSDL 0
0db9d8d2
JJ
224/*
225 * Use iODBC
226 */
abfcca57 227#define wxUSE_ODBC 1
1cc4f822 228#define wxUSE_BUILTIN_IODBC 0
fb073f86 229#define wxODBC_FWD_ONLY_CURSORS 1
f6bcfd97 230#define wxODBC_BACKWARD_COMPATABILITY 0
181cbcf4
JJ
231/*
232 * Use freetype
233 */
abfcca57 234#define wxUSE_FREETYPE 1
0db9d8d2
JJ
235/*
236 * Use Threads
237 */
fb10f04c 238#define wxUSE_THREADS 1
0db9d8d2
JJ
239/*
240 * Have glibc2
241 */
242#define wxHAVE_GLIBC2 0
243/*
244 * Use libXpm
245 */
246#define wxHAVE_LIB_XPM 1
247/*
248 * Use OpenGL
249 */
250#define wxUSE_OPENGL 1
61a021a8 251#define wxUSE_GLCANVAS 1
0db9d8d2
JJ
252/*
253 * Use GUI
254 */
255#define wxUSE_GUI 1
256/*
257 * Don't use GUI (defined to 1 when compiling/using base only)
258 */
259#define wxUSE_NOGUI 0
260
04272d58
JJ
261#define wxUSE_BASE 1
262#define __WXBASE__ 1
263
181cbcf4
JJ
264/*
265 * Catch fatal program exceptions
266 */
267#define wxUSE_ON_FATAL_EXCEPTION 0
268
4b37e99a
JJ
269/*
270 * Use wxSingleInstanceChecker class
271 */
272#define wxUSE_SNGLINST_CHECKER 1
273
0db9d8d2
JJ
274/*
275 * Use constraints mechanism
276 */
277#define wxUSE_CONSTRAINTS 1
278
279/*
280 * Use validators
281 */
282#define wxUSE_VALIDATORS 1
283
1a0d517e
JJ
284/*
285 * Use wxControl
286 */
287#define wxUSE_CONTROLS 1
288
289/*
290 * Use wxPopupWindow (useful in wxUniv only for now)
291 */
dae752d4
JJ
292#ifdef __WXMOTIF__
293#define wxUSE_POPUPWIN 0
294#else
1a0d517e 295#define wxUSE_POPUPWIN 1
dae752d4 296#endif
1a0d517e 297
508e0acb
JJ
298/*
299 Use wxTipWindow
300*/
301#define wxUSE_TIPWINDOW 1
302
0db9d8d2
JJ
303/*
304 * Use accelerators
305 */
306#define wxUSE_ACCEL 1
307
1a0d517e
JJ
308/*
309 * Use wxCalendarCtrl
310 */
311#define wxUSE_CALENDARCTRL 1
312
313/*
314 * Use wxFileDialog
315 */
316#define wxUSE_FILEDLG 1
317
33381c82
JJ
318/*
319 * Use wxFindReplaceDialog
320 */
321#define wxUSE_FINDREPLDLG 0
322
1a0d517e
JJ
323/*
324 * Use wxFontDialog
325 */
326#define wxUSE_FONTDLG 1
327
328/*
329 * Use wxMimeTypesManager and related classes
330 */
331#define wxUSE_MIMETYPE 1
332
508e0acb
JJ
333/*
334 * Use wxSystemOptions
335 */
336#define wxUSE_SYSTEM_OPTIONS 1
337
1a0d517e
JJ
338/*
339 * Use wxMessageDialog (and wxMessageBox)
340 */
341#define wxUSE_MSGDLG 1
342
343/*
344 * Use wxNumberEntryDialog
345 */
346#define wxUSE_NUMBERDLG 1
347
0db9d8d2
JJ
348/*
349 * Use wxTextEntryDialog
350 */
351#define wxUSE_TEXTDLG 1
352
353/*
354 * Use startup tips
355 */
356#define wxUSE_STARTUP_TIPS 1
357
358/*
359 * Use progress dialog
360 */
361#define wxUSE_PROGRESSDLG 1
362
1a0d517e
JJ
363/*
364 * Use chooser dialog
365 */
366#define wxUSE_CHOICEDLG 1
367
368/*
369 * Use colour picker dialog
370 */
371#define wxUSE_COLOURDLG 1
372
0db9d8d2
JJ
373/*
374 * Use directory chooser dialog
375 */
376#define wxUSE_DIRDLG 1
377
1a0d517e
JJ
378/*
379 * Use wxDragImage class
380 */
381#define wxUSE_DRAGIMAGE 1
382
383/*
384 * Use property sheet classes
385 */
386#define wxUSE_PROPSHEET 1
387
388/*
389 * Use wxWizard
390 */
391#define wxUSE_WIZARDDLG 1
392
393/*
394 * Use splash screen
395 */
396#define wxUSE_SPLASH 1
397
0db9d8d2
JJ
398/*
399 * Joystick support (Linux/GTK only)
400 */
401#define wxUSE_JOYSTICK 0
402
403/*
404 * Use this control
405 */
406#define wxUSE_CARET 1
1a0d517e
JJ
407/*
408 * Use this control
409 */
410#define wxUSE_BUTTON 1
0db9d8d2
JJ
411/*
412 * Use this control
413 */
414#define wxUSE_BMPBUTTON 1
415/*
416 * Use this control
417 */
418#define wxUSE_CHECKBOX 1
419/*
420 * Use this control
421 */
422#define wxUSE_CHECKLISTBOX 1
423/*
424 * Use this control
425 */
426#define wxUSE_COMBOBOX 1
427/*
428 * Use this control
429 */
430#define wxUSE_CHOICE 1
6804a3f7
JJ
431/*
432 * Use wxDisplay class
433 */
434#define wxUSE_DISPLAY !
435
0db9d8d2
JJ
436/*
437 * Use this control
438 */
439#define wxUSE_GAUGE 1
440/*
441 * Use this control
442 */
443#define wxUSE_GRID 1
444/*
6804a3f7
JJ
445 * Use the new prototype wxGrid classes
446 * (wxUSE_GRID must also be defined)
0db9d8d2
JJ
447 */
448#define wxUSE_NEW_GRID 1
449/*
6804a3f7 450 * Use wxImageList class
0db9d8d2
JJ
451 */
452#define wxUSE_IMAGLIST 1
453/*
454 * Use this control
455 */
456#define wxUSE_LISTBOX 1
457/*
458 * Use this control
459 */
460#define wxUSE_LISTCTRL 1
dd54fca3
JJ
461/*
462 * Use wxPlot class
463 */
464 #define wxUSE_PLOT 1
1a0d517e
JJ
465/*
466 * Use wxMenuBar, wxMenuItem and wxMenu
467 */
468#define wxUSE_MENUS 1
0db9d8d2
JJ
469/*
470 * Use this control
471 */
472#define wxUSE_NOTEBOOK 1
e9c0df38 473#define wxUSE_LISTBOOK 1
0db9d8d2
JJ
474/*
475 * Use this control
476 */
477#define wxUSE_RADIOBOX 1
478/*
479 * Use this control
480 */
481#define wxUSE_RADIOBTN 1
482/*
483 * Use this control
484 */
485#define wxUSE_SASH 1
486/*
487 * Use this control
488 */
489#define wxUSE_SCROLLBAR 1
490/*
491 * Use this control
492 */
493#define wxUSE_SLIDER 1
494/*
495 * Use this control
496 */
497#define wxUSE_SPINBTN 1
68874acf
JJ
498/*
499 * Use this control
500 */
501#define wxUSE_SPINCTRL 1
0db9d8d2
JJ
502/*
503 * Use this control
504 */
505#define wxUSE_SPLITTER 1
506/*
507 * Use this control
508 */
509#define wxUSE_STATBMP 1
510/*
511 * Use this control
512 */
513#define wxUSE_STATBOX 1
514/*
515 * Use this control
516 */
517#define wxUSE_STATLINE 1
1a0d517e
JJ
518/*
519 * Use this control
520 */
521#define wxUSE_STATTEXT 1
0db9d8d2
JJ
522/*
523 * Use this control
524 */
525#define wxUSE_STATUSBAR 1
392555bb
JJ
526/*
527 * Use this control
528 */
529#define wxUSE_TOGGLEBTN 1
0db9d8d2
JJ
530/*
531 * Use Tab dialog class - obsolete, use wxNotebook instead
532 */
533#define wxUSE_TAB_DIALOG 0
534/* compatibility */
535#define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
536/*
1a0d517e
JJ
537 * Use wxTextCtrl
538 */
539#define wxUSE_TEXTCTRL 1
540
541/*
542 * Use wxToollBar
0db9d8d2
JJ
543 */
544#define wxUSE_TOOLBAR 1
545
fb10f04c
JJ
546/* If 1, use the native toolbar, otherwise use the generic version
547 * (wxToolBarSimple) which may also be use together with the native one.
548 */
549#define wxUSE_TOOLBAR_NATIVE 1
550
33381c82
JJ
551/*
552 * Use wxTreeLayout class
553 */
554#define wxUSE_TREELAYOUT 1
555
0db9d8d2
JJ
556/*
557 * Use this control
558 */
559#define wxUSE_TREECTRL 1
560
561/*
562 * Use wxLongLong (a.k.a. int64) class
563 */
564#define wxUSE_LONGLONG 1
565
97b305b7
JJ
566/*
567 * Use geometry classes
568 */
569#define wxUSE_GEOMETRY 1
570
1a0d517e
JJ
571/*
572 * Use wxCmdLineParser class
573 */
574#define wxUSE_CMDLINE_PARSER 1
575/*
576 * Use wxDateTime
577 */
578#define wxUSE_DATETIME 1
0db9d8d2
JJ
579/*
580 * Use wxFile class
581 */
582#define wxUSE_FILE 1
4b37e99a
JJ
583/*
584 * Use wxFFile class
585 */
586#define wxUSE_FFILE 1
587/*
588 * Use wxFSVolume class
589 */
590#define wxUSE_FSVOLUME 1
591
3c621059
JJ
592/*
593 * Use wxTextBuffer class
594 */
595#define wxUSE_TEXTBUFFER 1
0db9d8d2
JJ
596/*
597 * Use wxTextFile class
598 */
599#define wxUSE_TEXTFILE 1
4199367e
VZ
600
601#define wxUSE_EXCEPTIONS 0
602
0db9d8d2
JJ
603/*
604 * Use log classes and logging functions
605 */
606#define wxUSE_LOG 1
1a0d517e
JJ
607/*
608 * Use log window
609 */
610#define wxUSE_LOGWINDOW 1
611/*
612 * Use standard GUI logger
613 */
614#define wxUSE_LOGGUI 1
0f02d3d0
JJ
615/*
616 * Use old log dialog instead of new wxLogGui
617 */
508e0acb 618#define wxUSE_LOG_DIALOG 0
1a0d517e
JJ
619/*
620 * Use wxStopWatch
621 */
622#define wxUSE_STOPWATCH 1
0db9d8d2
JJ
623/*
624 * Use time and date classes
625 */
626#define wxUSE_TIMEDATE 1
627/*
628 * Use wave class
629 */
002ed9af 630#define wxUSE_SOUND 1
0db9d8d2
JJ
631/*
632 * Use config system
633 */
634#define wxUSE_CONFIG 1
1a0d517e
JJ
635/*
636 * Use font mapping/conversion classes
637 */
638#define wxUSE_FONTMAP 1
0db9d8d2
JJ
639/*
640 * Use intl system
641 */
642#define wxUSE_INTL 1
643/*
8f52ea33 644 * Use wxProtocol and related classes
0db9d8d2 645 */
8f52ea33
JJ
646#define wxUSE_PROTOCOL 1
647#define wxUSE_PROTOCOL_FILE 1
648#define wxUSE_PROTOCOL_FTP 1
649#define wxUSE_PROTOCOL_HTTP 1
0db9d8d2 650/*
8f52ea33 651 * Use streams
0db9d8d2 652 */
8f52ea33 653#define wxUSE_STREAMS 1
0db9d8d2
JJ
654/*
655 * Use sockets
656 */
657#define wxUSE_SOCKETS 1
658/*
659 * Use dialup manager
660 */
1a0d517e 661#define wxUSE_DIALUP_MANAGER 1
0db9d8d2
JJ
662/*
663 * Use standard C++ streams if 1. If 0, use wxWin
664 * streams implementation.
665 */
666#define wxUSE_STD_IOSTREAM 0
667/*
668 * wxLibrary class
669 */
670#define wxUSE_DYNLIB_CLASS 1
8f52ea33
JJ
671/*
672 * Use wxObjectLoader
673 */
674#define wxUSE_DYNAMIC_LOADER 0
0db9d8d2 675
1a0d517e
JJ
676/*
677 * Use wxTimer
678 */
679#define wxUSE_TIMER 1
680
0db9d8d2
JJ
681/*
682 * Use font metric files in GetTextExtent for wxPostScriptDC
683 * Use consistent PostScript fonts for AFM and printing (!)
684 */
685#define wxUSE_AFM_FOR_POSTSCRIPT 1
686#define wxUSE_NORMALIZED_PS_FONTS 1
687
688/* compatibility */
689#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
690
691/*
692 * Use PostScript device context
693 */
694#define wxUSE_POSTSCRIPT 1
695
696/*
4b37e99a 697 * Compile wxString with some Unicode (wide character) support?
0db9d8d2 698 */
09f8c2a0 699#define wxUSE_WCHAR_T 1
0db9d8d2
JJ
700
701/*
f49347d1 702 * Compile wxWindows in Unicode mode?
0db9d8d2
JJ
703 */
704#define wxUSE_UNICODE 0
705
955b1191
JJ
706/*
707 * Use MS Layer for Unicode on Win9X (Win32 only)?
708 */
709#define wxUSE_UNICODE_MSLU 0
710
f3858bf5
JJ
711/*
712 * Set to 1 to compile MS Windows XP theme engine support
713 */
714/* #define wxUSE_UXTHEME 1 */
715
716/*
717 * Set to 1 to auto-adapt to MS Windows XP themes where possible
718 * (notably, wxNotebook pages)
719 */
720/* #define wxUSE_UXTHEME_AUTO 1*/
721
8f52ea33
JJ
722/*
723 * Use wxURL class
724 */
725#define wxUSE_URL 1
726
0db9d8d2
JJ
727/*
728 * Work around a bug in GNU libc 5.x wcstombs() implementation.
729 *
730 * Note that you must link your programs with libc.a if you enable this and you
731 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
732 * thread-safe version of wcstombs()).
733 */
734#define wxUSE_WCSRTOMBS 0
735
736/*
737 * Use the new experimental implementation of wxString::Printf()?
738 *
739 * Warning: enabling this may cause internal compiler errors with gcc!
740 */
741#define wxUSE_EXPERIMENTAL_PRINTF 0
742
743/*
744 * Use Interprocess communication
745 */
746#define wxUSE_IPC 1
747/*
748 * Use wxGetResource & wxWriteResource (change .Xdefaults)
749 */
750#define wxUSE_X_RESOURCES 1
751/*
752 * Use clipboard
753 */
754#define wxUSE_CLIPBOARD 1
1a0d517e
JJ
755/*
756 * Use wxDataObject
757*/
758#define wxUSE_DATAOBJ 1
0db9d8d2
JJ
759/*
760 * Use tooltips
761 */
dae752d4
JJ
762#ifdef __WXMOTIF__
763#define wxUSE_TOOLTIPS 0
764#else
1a0d517e 765#define wxUSE_TOOLTIPS 1
dae752d4 766#endif
0db9d8d2
JJ
767/*
768 * Use dnd
769 */
a17203df 770#ifdef __WXGTK__
181cbcf4
JJ
771#define wxUSE_DRAG_AND_DROP 1
772#else
0db9d8d2 773#define wxUSE_DRAG_AND_DROP 0
181cbcf4 774#endif
0f02d3d0
JJ
775/*
776 * Use OLE (MSW only)
777*/
778#define wxUSE_OLE 0
0db9d8d2
JJ
779/*
780 * Use spline
781 */
782#define wxUSE_SPLINES 1
0db9d8d2
JJ
783
784/*
785 * Use the mdi architecture
786 */
787#define wxUSE_MDI_ARCHITECTURE 1
788/*
789 * Use the document/view architecture
790 */
791#define wxUSE_DOC_VIEW_ARCHITECTURE 1
792/*
793 * Use the print/preview architecture
794 */
795#define wxUSE_PRINTING_ARCHITECTURE 1
796
797/*
798 * Use Prolog IO
799 */
800#define wxUSE_PROLOGIO 1
801/*
802 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
803 */
804#define wxUSE_RESOURCES 1
805
806/* for compatibility */
807#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
808
809/*
4b37e99a 810 * Use wxWindows help facility
0db9d8d2
JJ
811 */
812#define wxUSE_HELP 1
1a0d517e
JJ
813/*
814 * Use built-in HTML-based help controller
815 */
816#define wxUSE_WXHTML_HELP 1
4b37e99a
JJ
817/*
818 * Use MS HTML Help controller (win32)
819 */
820#define wxUSE_MS_HTML_HELP 0
2b5b100a
JJ
821/*
822 * Use MS HTML Help via libmspack (Unix)
823 */
824#define wxUSE_LIBMSPACK 1
1a0d517e 825
0db9d8d2
JJ
826/*
827 * Use iostream.h rather than iostream
828 */
829#define wxUSE_IOSTREAMH 1
830/*
831 * Use Apple Ieee-double converter
832 */
833#define wxUSE_APPLE_IEEE 0
1a0d517e 834
1a0d517e
JJ
835/*
836 * Compatibility with 2.2 API
837 */
e004299a 838#define WXWIN_COMPATIBILITY_2_2 1
134ecc85
VZ
839/*
840 * Compatibility with 2.4 API
841 */
842#define WXWIN_COMPATIBILITY_2_4 1
0db9d8d2
JJ
843/*
844 * Enables debugging: memory tracing, assert, etc., contains debug level
845 */
846#define WXDEBUG 0
847/*
848 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
849 * WARNING: this code may not work with all architectures, especially
850 * if alignment is an issue.
851 */
852#define wxUSE_MEMORY_TRACING 0
853/*
854 * Enable debugging version of global memory operators new and delete
855 * Disable it, If this causes problems (e.g. link errors)
856 */
857#define wxUSE_DEBUG_NEW_ALWAYS 0
858/*
859 * VZ: What does this one do? (FIXME)
860 */
861#define wxUSE_DEBUG_CONTEXT 0
862/*
863 * In debug mode, causes new to be defined to
864 * be WXDEBUG_NEW (see object.h). If this causes
865 * problems (e.g. link errors), set this to 0.
866 */
867#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
868/*
869 * Matthews garbage collection (used for MrEd?)
870 */
871#define WXGARBAGE_COLLECTION_ON 1
872/*
873 * Use splines
874 */
875#define wxUSE_SPLINES 1
876/*
877 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
878 */
879#define wxUSE_DYNAMIC_CLASSES 1
880
881/*
882 * Support for metafiles
883 */
884#define wxUSE_METAFILE 1
4b37e99a 885#define wxUSE_ENH_METAFILE 1
0db9d8d2
JJ
886
887/*
888 * wxMiniFrame
889 */
890#define wxUSE_MINIFRAME 1
891
892/*
893 * wxHTML
894 */
895#define wxUSE_HTML 1
896
897/*
898 * (virtual) filesystems code
899 */
24528b0c 900#define wxUSE_FILESYSTEM 1
0db9d8d2
JJ
901#define wxUSE_FS_INET 1
902#define wxUSE_FS_ZIP 1
903
904/*
905 * A class that shows info window when app is busy
906 * (works exactly like wxBusyCursor)
907 */
908#define wxUSE_BUSYINFO 1
909
910/*
911 * Zip stream for accessing files stored inside .zip archives
912 */
913#define wxUSE_ZIPSTREAM 1
914
6f96ac03
VZ
915/*
916 * Use gzip streams, requires wxUSE_ZLIB
917 */
918#define wxUSE_GZSTREAM 1
919
9e4e191a
JJ
920/*
921 * wxPalette class
922 */
923#define wxUSE_PALETTE 1
924
2900bd1c
JJ
925/*
926 * wxImage support
927 */
928#define wxUSE_IMAGE 1
929
0db9d8d2
JJ
930/*
931 * GIF image format support
932 */
933#define wxUSE_GIF 1
934
935/*
936 * PCX image format support
937 */
938#define wxUSE_PCX 1
939
a7aef4a9
JJ
940/*
941 * IFF image format support
942 */
943#define wxUSE_IFF 1
944
0db9d8d2
JJ
945/*
946 * PNM image format support
947 */
948#define wxUSE_PNM 1
949
2900bd1c
JJ
950/*
951 * XPM image format support
952 */
953#define wxUSE_XPM 1
954
a7aef4a9 955/*
4b37e99a 956 * MS ICO (and CUR,ANI derivatives) image format support (on any platform)
a7aef4a9 957 */
df744f4d 958#define wxUSE_ICO_CUR 1
a7aef4a9 959
9cc454c0
JJ
960/*
961 * Set to 1 if for dynamically loadable plugins support
962 */
963#define wxUSE_PLUGINS 1
964
0db9d8d2
JJ
965/*
966 * Disable this if your compiler can't cope
967 * with omission of prototype parameters.
968 */
969#define REMOVE_UNUSED_ARG 1
970/*
971 * The const keyword is being introduced more in wxWindows.
972 * You can use this setting to maintain backward compatibility.
973 * If 0: will use const wherever possible.
974 * If 1: will use const only where necessary
975 * for precompiled headers to work.
976 * If 2: will be totally backward compatible, but precompiled
977 * headers may not work and program size will be larger.
978 */
979#define CONST_COMPATIBILITY 0
980
fb10f04c
JJ
981/* define with the name of timezone variable */
982#undef WX_TIMEZONE
983
0db9d8d2 984/* The type of 3rd argument to getsockname() - usually size_t or int */
fb10f04c 985#define SOCKLEN_T size_t
0db9d8d2 986
e004299a
JJ
987/* The type of statvfs(2) argument */
988#undef WX_STATFS_T
989
4b37e99a
JJ
990/* The signal handler prototype */
991#undef wxTYPE_SA_HANDLER
992
0db9d8d2
JJ
993/* gettimeofday() usually takes 2 arguments, but some really old systems might
994 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
995#undef WX_GETTIMEOFDAY_NO_TZ
996
4b37e99a 997/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
b8ad9f18
JJ
998#define WX_GMTOFF_IN_TM
999
2b5f62a0
VZ
1000/* Define if you have poll(2) function */
1001#define HAVE_POLL 1
1002
181cbcf4
JJ
1003/* Define if you have pw_gecos field in struct passwd */
1004#undef HAVE_PW_GECOS
1005
0db9d8d2 1006/* Define if you have dlopen() */
181cbcf4 1007#define HAVE_DLOPEN 1
0db9d8d2
JJ
1008
1009/* Define if you have gettimeofday() */
1010#define HAVE_GETTIMEOFDAY
1011
1012/* Define if you have ftime() */
1013#define HAVE_FTIME
1014
d38b5757
JJ
1015/* Define if you have support for large (64 bit size) files */
1016#undef HAVE_LARGEFILE_SUPPORT
1017
0db9d8d2
JJ
1018/* Define if you have localtime() */
1019#define HAVE_LOCALTIME
1020
1021/* Define if you have nanosleep() */
1022#undef HAVE_NANOSLEEP
1023
1024/* Define if you have sched_yield */
1025#undef HAVE_SCHED_YIELD
1026
4b37e99a
JJ
1027/* Define if you have pthread_mutexattr_t and functions to work with it */
1028#undef HAVE_PTHREAD_MUTEXATTR_T
1029
1030/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
1031#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
1032
0db9d8d2 1033/* Define if you have pthread_cancel */
fb10f04c 1034#define HAVE_PTHREAD_CANCEL 1
0db9d8d2 1035
181cbcf4
JJ
1036/* Define if you have sigaction() */
1037#define HAVE_SIGACTION 1
1038
1039/* Define if you have sigemptyset() */
1040#define HAVE_SIGEMPTYSET 1
1041
97b305b7
JJ
1042/* Define if you have the putenv function. */
1043#define HAVE_PUTENV 1
1044
1045/* Define if you have the setenv function. */
1046#undef HAVE_SETENV
1047
68874acf
JJ
1048/* Define if you have shl_load() */
1049#undef HAVE_SHL_LOAD
1050
33381c82
JJ
1051/* define if you have statfs function */
1052#undef HAVE_STATFS
1053
4b37e99a
JJ
1054/* define if you have statvfs function */
1055#undef HAVE_STATVFS
1056
fb10f04c
JJ
1057/* Define if you have strptime() */
1058#define HAVE_STRPTIME 1
1059
0db9d8d2 1060/* Define if you have all functions to set thread priority */
fb10f04c 1061#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
0db9d8d2
JJ
1062
1063/* Define if you can specify exit functions to a thread */
fb10f04c 1064#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
0db9d8d2 1065
68874acf
JJ
1066/* Define if you have timegm() function */
1067#undef HAVE_TIMEGM
0db9d8d2
JJ
1068
1069/* Define if you have vsnprintf() */
1070#undef HAVE_VSNPRINTF
1071
ec0d6da3
VZ
1072/* Define if you have vsnprintf() declaration in the header */
1073#undef HAVE_VSNPRINTF_DECL
1074
0db9d8d2 1075/* Define if you have usleep() */
508e0acb 1076#define HAVE_USLEEP 1
0db9d8d2
JJ
1077
1078/* Define if you have wcslen function */
508e0acb 1079#define HAVE_WCSLEN 1
0db9d8d2
JJ
1080
1081/* define if you have vsscanf function */
1082#undef HAVE_VSSCANF
1083
1084/* The number of bytes in a char. */
1085#define SIZEOF_CHAR 1
1086
181cbcf4
JJ
1087/* The number of bytes in a wchar_t. */
1088#define SIZEOF_WCHAR_T 4
1089
0db9d8d2
JJ
1090/* The number of bytes in a int. */
1091#define SIZEOF_INT 4
1092
a369f7c8
VZ
1093/* The number of bytes in a pointer. */
1094#define SIZEOF_VOID_P 4
0db9d8d2
JJ
1095
1096/* The number of bytes in a long. */
1097#define SIZEOF_LONG 4
1098
1099/* The number of bytes in a long long. */
1100#define SIZEOF_LONG_LONG 8
1101
1102/* The number of bytes in a short. */
1103#define SIZEOF_SHORT 2
1104
a369f7c8
VZ
1105/* The number of bytes in a size_t. */
1106#define SIZEOF_SIZE_T 4
1107
1a0d517e
JJ
1108/* Define if size_t on your machine is the same type as unsigned int. */
1109#define wxSIZE_T_IS_UINT 1
1110
1111/* Define if size_t on your machine is the same type as unsigned long. */
1112#undef wxSIZE_T_IS_ULONG
1113
0db9d8d2 1114/* Define if you have the dlopen function. */
181cbcf4
JJ
1115#define HAVE_DLOPEN 1
1116
1117/* Define if you have the dlerror function. */
1118#define HAVE_DLERROR 1
0db9d8d2 1119
4b37e99a
JJ
1120/* Define if you have Posix fnctl() function. */
1121#define HAVE_FCNTL 1
1122
1123/* Define if you have BSD flock() function. */
1124#undef HAVE_FLOCK
1125
0db9d8d2 1126/* Define if you have the gethostname function. */
508e0acb 1127#define HAVE_GETHOSTNAME 1
0db9d8d2
JJ
1128
1129/* Define if you have the inet_addr function. */
508e0acb 1130#define HAVE_INET_ADDR 1
0db9d8d2
JJ
1131
1132/* Define if you have the inet_aton function. */
1133#undef HAVE_INET_ATON
1134
4b37e99a
JJ
1135/* Define if you have the mktemp function. */
1136#define HAVE_MKTEMP 1
1137
1138/* Define if you have the mkstemp function. */
1139#define HAVE_MKSTEMP 1
1140
0db9d8d2
JJ
1141/* Define if you have the nanosleep function. */
1142#undef HAVE_NANOSLEEP
1143
4b37e99a
JJ
1144/* Define if you have the putenv function. */
1145#define HAVE_PUTENV 1
1146
1147/* Define if you have the setenv function. */
1148#undef HAVE_SETENV
1149
0db9d8d2
JJ
1150/* Define if you have the shl_load function. */
1151#undef HAVE_SHL_LOAD
1152
1153/* Define if you have strtok_r function. */
1154#undef HAVE_STRTOK_R
1155
68874acf 1156/* Define if you have thr_setconcurrency function */
181cbcf4 1157#undef HAVE_THR_SETCONCURRENCY
68874acf 1158
0db9d8d2 1159/* Define if you have the uname function. */
508e0acb 1160#define HAVE_UNAME 1
0db9d8d2
JJ
1161
1162/* Define if you have the usleep function. */
508e0acb 1163#define HAVE_USLEEP 1
0db9d8d2 1164
0db9d8d2
JJ
1165/* Define if you have the <X11/XKBlib.h> header file. */
1166#undef HAVE_X11_XKBLIB_H
1167
9988e82e
JJ
1168/* Define if you have the fnmatch() function */
1169#undef HAVE_FNMATCH
1170
0db9d8d2
JJ
1171/* Define if you have the <fnmatch.h> header file. */
1172#undef HAVE_FNMATCH_H
1173
1174/* Define if you have the <iostream> header file. */
1175#undef HAVE_IOSTREAM
1176
1177/* Define if you have the <linux/joystick.h> header file. */
1178#undef HAVE_LINUX_JOYSTICK_H
1179
1180/* Define if you have the <sched.h> header file. */
1181#undef HAVE_SCHED_H
1182
0db9d8d2 1183/* Define if you have the <unistd.h> header file. */
508e0acb 1184#define HAVE_UNISTD_H 1
0db9d8d2 1185
4b37e99a
JJ
1186/* Define if you have the <fcntl.h> header file. */
1187#define HAVE_FCNTL_H 1
1188
0db9d8d2 1189/* Define if you have the <wchar.h> header file. */
508e0acb 1190#define HAVE_WCHAR_H 1
0db9d8d2
JJ
1191
1192/* Define if you have the <wcstr.h> header file. */
1193#undef HAVE_WCSTR_H
1194
4b37e99a
JJ
1195/* Define if you have the <wctype.h> header file. */
1196#undef HAVE_WCTYPE_H
1197
35e92fbf 1198/* Define if you have the <iconv.h> header file and iconv() symbol. */
181cbcf4
JJ
1199#define HAVE_ICONV_H 1
1200
35e92fbf
JJ
1201/* Define as "const" if the declaration of iconv() needs const. */
1202#undef ICONV_CONST
1203
181cbcf4
JJ
1204/* Define if you have the <langinfo.h> header file. */
1205#define HAVE_LANGINFO_H 1
1206
0f02d3d0
JJ
1207/* Define if you have the <w32api.h> header file (mingw,cygwin). */
1208#undef HAVE_W32API_H
1209
f3858bf5
JJ
1210/* Define if you have the <esd.h> header file. */
1211/* #undef HAVE_ESD_H */
1212
9cc454c0
JJ
1213/* Define if you have the <sys/soundcard.h> header file. */
1214/* #undef HAVE_SYS_SOUNDCARD_H */
1215
9e4e191a
JJ
1216/* Define if you have wcsrtombs() function */
1217#define HAVE_WCSRTOMBS 1
1218
b2ddee86
JJ
1219/* Define this if you have fputws() and putwc() */
1220#define HAVE_FPUTWC 1
1221
1c2d1459
VZ
1222/* Define this if you have strcasecmp() function in <string.h> */
1223#define HAVE_STRCASECMP_IN_STRING_H 1
1224
1225/* Define this if you have strcasecmp() function in <strings.h> */
1226#undef HAVE_STRCASECMP_IN_STRINGS_H
1227
b2ddee86
JJ
1228/* Define this if you have wprintf() and related functions */
1229#define HAVE_WPRINTF 1
1230
1231/* Define this if you have vswprintf() and related functions */
1232#define HAVE_VSWPRINTF 1
1233
1507adbb
JJ
1234/* Define this if you have _vsnwprintf */
1235#undef HAVE__VSNWPRINTF
1236
68874acf
JJ
1237/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
1238#undef HAVE_XIM
1239
b2ddee86
JJ
1240/* ---------------------------------------------------------------------
1241 Win32 adjustments section
1242 ---------------------------------------------------------------------
1243 */
1244
1245#ifdef __WIN32__
1246
1247/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1248 with wx/msw/setup.h */
1249#define wxUSE_XPM_IN_MSW wxUSE_XPM
1250
1251#endif /* __WIN32__ */
1252
9e4e191a
JJ
1253/* --------------------------------------------------------*
1254 * This stuff is static, it doesn't get modified directly
1255 * by configure.
1256 */
1257
1258#include "wx/chkconf.h"
1259
1260/*
1261 define some constants identifying wxWindows version in more details t
1262 just the version number
1263*/
1264
1265/* wxLogChain class available */
1266#define wxHAS_LOG_CHAIN 1
1267
1268/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1269#define wxHAS_WORKING_GTK_DC_BLIT 1
1270
6804a3f7
JJ
1271/* Define this is you have X11/extensions/shape.h */
1272#define HAVE_XSHAPE 1
1273
0db9d8d2 1274#endif /* __WX_SETUP_H__ */