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