]> git.saurik.com Git - wxWidgets.git/blame - setup.h_vms
Removed horrible julian.png photo
[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
585/*
586 * Use log classes and logging functions
587 */
588#define wxUSE_LOG 1
1a0d517e
JJ
589/*
590 * Use log window
591 */
592#define wxUSE_LOGWINDOW 1
593/*
594 * Use standard GUI logger
595 */
596#define wxUSE_LOGGUI 1
0f02d3d0
JJ
597/*
598 * Use old log dialog instead of new wxLogGui
599 */
508e0acb 600#define wxUSE_LOG_DIALOG 0
1a0d517e
JJ
601/*
602 * Use wxStopWatch
603 */
604#define wxUSE_STOPWATCH 1
0db9d8d2
JJ
605/*
606 * Use time and date classes
607 */
608#define wxUSE_TIMEDATE 1
609/*
610 * Use wave class
611 */
612#define wxUSE_WAVE 1
613/*
614 * Use config system
615 */
616#define wxUSE_CONFIG 1
1a0d517e
JJ
617/*
618 * Use font mapping/conversion classes
619 */
620#define wxUSE_FONTMAP 1
0db9d8d2
JJ
621/*
622 * Use intl system
623 */
624#define wxUSE_INTL 1
625/*
8f52ea33 626 * Use wxProtocol and related classes
0db9d8d2 627 */
8f52ea33
JJ
628#define wxUSE_PROTOCOL 1
629#define wxUSE_PROTOCOL_FILE 1
630#define wxUSE_PROTOCOL_FTP 1
631#define wxUSE_PROTOCOL_HTTP 1
0db9d8d2 632/*
8f52ea33 633 * Use streams
0db9d8d2 634 */
8f52ea33 635#define wxUSE_STREAMS 1
0db9d8d2
JJ
636/*
637 * Use sockets
638 */
639#define wxUSE_SOCKETS 1
640/*
641 * Use dialup manager
642 */
1a0d517e 643#define wxUSE_DIALUP_MANAGER 1
0db9d8d2
JJ
644/*
645 * Use standard C++ streams if 1. If 0, use wxWin
646 * streams implementation.
647 */
648#define wxUSE_STD_IOSTREAM 0
649/*
650 * wxLibrary class
651 */
652#define wxUSE_DYNLIB_CLASS 1
8f52ea33
JJ
653/*
654 * Use wxObjectLoader
655 */
656#define wxUSE_DYNAMIC_LOADER 0
0db9d8d2 657
1a0d517e
JJ
658/*
659 * Use wxTimer
660 */
661#define wxUSE_TIMER 1
662
0db9d8d2
JJ
663/*
664 * Use font metric files in GetTextExtent for wxPostScriptDC
665 * Use consistent PostScript fonts for AFM and printing (!)
666 */
667#define wxUSE_AFM_FOR_POSTSCRIPT 1
668#define wxUSE_NORMALIZED_PS_FONTS 1
669
670/* compatibility */
671#define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
672
673/*
674 * Use PostScript device context
675 */
676#define wxUSE_POSTSCRIPT 1
677
678/*
4b37e99a 679 * Compile wxString with some Unicode (wide character) support?
0db9d8d2 680 */
09f8c2a0 681#define wxUSE_WCHAR_T 1
0db9d8d2
JJ
682
683/*
4b37e99a 684 * Compile wxWindows in Unicode mode (Win32 only for now)?
0db9d8d2
JJ
685 */
686#define wxUSE_UNICODE 0
687
955b1191
JJ
688/*
689 * Use MS Layer for Unicode on Win9X (Win32 only)?
690 */
691#define wxUSE_UNICODE_MSLU 0
692
f3858bf5
JJ
693/*
694 * Set to 1 to compile MS Windows XP theme engine support
695 */
696/* #define wxUSE_UXTHEME 1 */
697
698/*
699 * Set to 1 to auto-adapt to MS Windows XP themes where possible
700 * (notably, wxNotebook pages)
701 */
702/* #define wxUSE_UXTHEME_AUTO 1*/
703
8f52ea33
JJ
704/*
705 * Use wxURL class
706 */
707#define wxUSE_URL 1
708
0db9d8d2
JJ
709/*
710 * Work around a bug in GNU libc 5.x wcstombs() implementation.
711 *
712 * Note that you must link your programs with libc.a if you enable this and you
713 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
714 * thread-safe version of wcstombs()).
715 */
716#define wxUSE_WCSRTOMBS 0
717
718/*
719 * Use the new experimental implementation of wxString::Printf()?
720 *
721 * Warning: enabling this may cause internal compiler errors with gcc!
722 */
723#define wxUSE_EXPERIMENTAL_PRINTF 0
724
725/*
726 * Use Interprocess communication
727 */
728#define wxUSE_IPC 1
729/*
730 * Use wxGetResource & wxWriteResource (change .Xdefaults)
731 */
732#define wxUSE_X_RESOURCES 1
733/*
734 * Use clipboard
735 */
736#define wxUSE_CLIPBOARD 1
1a0d517e
JJ
737/*
738 * Use wxDataObject
739*/
740#define wxUSE_DATAOBJ 1
0db9d8d2
JJ
741/*
742 * Use tooltips
743 */
dae752d4
JJ
744#ifdef __WXMOTIF__
745#define wxUSE_TOOLTIPS 0
746#else
1a0d517e 747#define wxUSE_TOOLTIPS 1
dae752d4 748#endif
0db9d8d2
JJ
749/*
750 * Use dnd
751 */
a17203df 752#ifdef __WXGTK__
181cbcf4
JJ
753#define wxUSE_DRAG_AND_DROP 1
754#else
0db9d8d2 755#define wxUSE_DRAG_AND_DROP 0
181cbcf4 756#endif
0f02d3d0
JJ
757/*
758 * Use OLE (MSW only)
759*/
760#define wxUSE_OLE 0
0db9d8d2
JJ
761/*
762 * Use spline
763 */
764#define wxUSE_SPLINES 1
0db9d8d2
JJ
765
766/*
767 * Use the mdi architecture
768 */
769#define wxUSE_MDI_ARCHITECTURE 1
770/*
771 * Use the document/view architecture
772 */
773#define wxUSE_DOC_VIEW_ARCHITECTURE 1
774/*
775 * Use the print/preview architecture
776 */
777#define wxUSE_PRINTING_ARCHITECTURE 1
778
779/*
780 * Use Prolog IO
781 */
782#define wxUSE_PROLOGIO 1
783/*
784 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
785 */
786#define wxUSE_RESOURCES 1
787
788/* for compatibility */
789#define wxUSE_WX_RESOURCES wxUSE_RESOURCES
790
791/*
4b37e99a 792 * Use wxWindows help facility
0db9d8d2
JJ
793 */
794#define wxUSE_HELP 1
1a0d517e
JJ
795/*
796 * Use built-in HTML-based help controller
797 */
798#define wxUSE_WXHTML_HELP 1
4b37e99a
JJ
799/*
800 * Use MS HTML Help controller (win32)
801 */
802#define wxUSE_MS_HTML_HELP 0
1a0d517e 803
0db9d8d2
JJ
804/*
805 * Use iostream.h rather than iostream
806 */
807#define wxUSE_IOSTREAMH 1
808/*
809 * Use Apple Ieee-double converter
810 */
811#define wxUSE_APPLE_IEEE 0
1a0d517e 812
1a0d517e
JJ
813/*
814 * Compatibility with 2.2 API
815 */
e004299a 816#define WXWIN_COMPATIBILITY_2_2 1
134ecc85
VZ
817/*
818 * Compatibility with 2.4 API
819 */
820#define WXWIN_COMPATIBILITY_2_4 1
0db9d8d2
JJ
821/*
822 * Enables debugging: memory tracing, assert, etc., contains debug level
823 */
824#define WXDEBUG 0
825/*
826 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
827 * WARNING: this code may not work with all architectures, especially
828 * if alignment is an issue.
829 */
830#define wxUSE_MEMORY_TRACING 0
831/*
832 * Enable debugging version of global memory operators new and delete
833 * Disable it, If this causes problems (e.g. link errors)
834 */
835#define wxUSE_DEBUG_NEW_ALWAYS 0
836/*
837 * VZ: What does this one do? (FIXME)
838 */
839#define wxUSE_DEBUG_CONTEXT 0
840/*
841 * In debug mode, causes new to be defined to
842 * be WXDEBUG_NEW (see object.h). If this causes
843 * problems (e.g. link errors), set this to 0.
844 */
845#define wxUSE_GLOBAL_MEMORY_OPERATORS 0
846/*
847 * Matthews garbage collection (used for MrEd?)
848 */
849#define WXGARBAGE_COLLECTION_ON 1
850/*
851 * Use splines
852 */
853#define wxUSE_SPLINES 1
854/*
855 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
856 */
857#define wxUSE_DYNAMIC_CLASSES 1
858
859/*
860 * Support for metafiles
861 */
862#define wxUSE_METAFILE 1
4b37e99a 863#define wxUSE_ENH_METAFILE 1
0db9d8d2
JJ
864
865/*
866 * wxMiniFrame
867 */
868#define wxUSE_MINIFRAME 1
869
870/*
871 * wxHTML
872 */
873#define wxUSE_HTML 1
874
875/*
876 * (virtual) filesystems code
877 */
24528b0c 878#define wxUSE_FILESYSTEM 1
0db9d8d2
JJ
879#define wxUSE_FS_INET 1
880#define wxUSE_FS_ZIP 1
881
882/*
883 * A class that shows info window when app is busy
884 * (works exactly like wxBusyCursor)
885 */
886#define wxUSE_BUSYINFO 1
887
888/*
889 * Zip stream for accessing files stored inside .zip archives
890 */
891#define wxUSE_ZIPSTREAM 1
892
9e4e191a
JJ
893/*
894 * wxPalette class
895 */
896#define wxUSE_PALETTE 1
897
2900bd1c
JJ
898/*
899 * wxImage support
900 */
901#define wxUSE_IMAGE 1
902
0db9d8d2
JJ
903/*
904 * GIF image format support
905 */
906#define wxUSE_GIF 1
907
908/*
909 * PCX image format support
910 */
911#define wxUSE_PCX 1
912
a7aef4a9
JJ
913/*
914 * IFF image format support
915 */
916#define wxUSE_IFF 1
917
0db9d8d2
JJ
918/*
919 * PNM image format support
920 */
921#define wxUSE_PNM 1
922
2900bd1c
JJ
923/*
924 * XPM image format support
925 */
926#define wxUSE_XPM 1
927
a7aef4a9 928/*
4b37e99a 929 * MS ICO (and CUR,ANI derivatives) image format support (on any platform)
a7aef4a9 930 */
df744f4d 931#define wxUSE_ICO_CUR 1
a7aef4a9 932
0db9d8d2
JJ
933/*
934 * Disable this if your compiler can't cope
935 * with omission of prototype parameters.
936 */
937#define REMOVE_UNUSED_ARG 1
938/*
939 * The const keyword is being introduced more in wxWindows.
940 * You can use this setting to maintain backward compatibility.
941 * If 0: will use const wherever possible.
942 * If 1: will use const only where necessary
943 * for precompiled headers to work.
944 * If 2: will be totally backward compatible, but precompiled
945 * headers may not work and program size will be larger.
946 */
947#define CONST_COMPATIBILITY 0
948
fb10f04c
JJ
949/* define with the name of timezone variable */
950#undef WX_TIMEZONE
951
0db9d8d2 952/* The type of 3rd argument to getsockname() - usually size_t or int */
fb10f04c 953#define SOCKLEN_T size_t
0db9d8d2 954
e004299a
JJ
955/* The type of statvfs(2) argument */
956#undef WX_STATFS_T
957
4b37e99a
JJ
958/* The signal handler prototype */
959#undef wxTYPE_SA_HANDLER
960
0db9d8d2
JJ
961/* gettimeofday() usually takes 2 arguments, but some really old systems might
962 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
963#undef WX_GETTIMEOFDAY_NO_TZ
964
4b37e99a 965/* struct tm doesn't always have the tm_gmtoff field, define this if it does */
b8ad9f18
JJ
966#define WX_GMTOFF_IN_TM
967
2b5f62a0
VZ
968/* Define if you have poll(2) function */
969#define HAVE_POLL 1
970
181cbcf4
JJ
971/* Define if you have pw_gecos field in struct passwd */
972#undef HAVE_PW_GECOS
973
0db9d8d2 974/* Define if you have dlopen() */
181cbcf4 975#define HAVE_DLOPEN 1
0db9d8d2
JJ
976
977/* Define if you have gettimeofday() */
978#define HAVE_GETTIMEOFDAY
979
980/* Define if you have ftime() */
981#define HAVE_FTIME
982
d38b5757
JJ
983/* Define if you have support for large (64 bit size) files */
984#undef HAVE_LARGEFILE_SUPPORT
985
0db9d8d2
JJ
986/* Define if you have localtime() */
987#define HAVE_LOCALTIME
988
989/* Define if you have nanosleep() */
990#undef HAVE_NANOSLEEP
991
992/* Define if you have sched_yield */
993#undef HAVE_SCHED_YIELD
994
4b37e99a
JJ
995/* Define if you have pthread_mutexattr_t and functions to work with it */
996#undef HAVE_PTHREAD_MUTEXATTR_T
997
998/* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
999#undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
1000
0db9d8d2 1001/* Define if you have pthread_cancel */
fb10f04c 1002#define HAVE_PTHREAD_CANCEL 1
0db9d8d2 1003
181cbcf4
JJ
1004/* Define if you have sigaction() */
1005#define HAVE_SIGACTION 1
1006
1007/* Define if you have sigemptyset() */
1008#define HAVE_SIGEMPTYSET 1
1009
97b305b7
JJ
1010/* Define if you have the putenv function. */
1011#define HAVE_PUTENV 1
1012
1013/* Define if you have the setenv function. */
1014#undef HAVE_SETENV
1015
68874acf
JJ
1016/* Define if you have shl_load() */
1017#undef HAVE_SHL_LOAD
1018
33381c82
JJ
1019/* define if you have statfs function */
1020#undef HAVE_STATFS
1021
4b37e99a
JJ
1022/* define if you have statvfs function */
1023#undef HAVE_STATVFS
1024
fb10f04c
JJ
1025/* Define if you have strptime() */
1026#define HAVE_STRPTIME 1
1027
0db9d8d2 1028/* Define if you have all functions to set thread priority */
fb10f04c 1029#define HAVE_THREAD_PRIORITY_FUNCTIONS 1
0db9d8d2
JJ
1030
1031/* Define if you can specify exit functions to a thread */
fb10f04c 1032#define HAVE_THREAD_CLEANUP_FUNCTIONS 1
0db9d8d2 1033
68874acf
JJ
1034/* Define if you have timegm() function */
1035#undef HAVE_TIMEGM
0db9d8d2
JJ
1036
1037/* Define if you have vsnprintf() */
1038#undef HAVE_VSNPRINTF
1039
ec0d6da3
VZ
1040/* Define if you have vsnprintf() declaration in the header */
1041#undef HAVE_VSNPRINTF_DECL
1042
0db9d8d2 1043/* Define if you have usleep() */
508e0acb 1044#define HAVE_USLEEP 1
0db9d8d2
JJ
1045
1046/* Define if you have wcslen function */
508e0acb 1047#define HAVE_WCSLEN 1
0db9d8d2
JJ
1048
1049/* define if you have vsscanf function */
1050#undef HAVE_VSSCANF
1051
1052/* The number of bytes in a char. */
1053#define SIZEOF_CHAR 1
1054
181cbcf4
JJ
1055/* The number of bytes in a wchar_t. */
1056#define SIZEOF_WCHAR_T 4
1057
0db9d8d2
JJ
1058/* The number of bytes in a int. */
1059#define SIZEOF_INT 4
1060
1061/* The number of bytes in a int *. */
1062#define SIZEOF_INT_P 4
1063
1064/* The number of bytes in a long. */
1065#define SIZEOF_LONG 4
1066
1067/* The number of bytes in a long long. */
1068#define SIZEOF_LONG_LONG 8
1069
1070/* The number of bytes in a short. */
1071#define SIZEOF_SHORT 2
1072
1a0d517e
JJ
1073/* Define if size_t on your machine is the same type as unsigned int. */
1074#define wxSIZE_T_IS_UINT 1
1075
1076/* Define if size_t on your machine is the same type as unsigned long. */
1077#undef wxSIZE_T_IS_ULONG
1078
0db9d8d2 1079/* Define if you have the dlopen function. */
181cbcf4
JJ
1080#define HAVE_DLOPEN 1
1081
1082/* Define if you have the dlerror function. */
1083#define HAVE_DLERROR 1
0db9d8d2 1084
4b37e99a
JJ
1085/* Define if you have Posix fnctl() function. */
1086#define HAVE_FCNTL 1
1087
1088/* Define if you have BSD flock() function. */
1089#undef HAVE_FLOCK
1090
0db9d8d2 1091/* Define if you have the gethostname function. */
508e0acb 1092#define HAVE_GETHOSTNAME 1
0db9d8d2
JJ
1093
1094/* Define if you have the inet_addr function. */
508e0acb 1095#define HAVE_INET_ADDR 1
0db9d8d2
JJ
1096
1097/* Define if you have the inet_aton function. */
1098#undef HAVE_INET_ATON
1099
4b37e99a
JJ
1100/* Define if you have the mktemp function. */
1101#define HAVE_MKTEMP 1
1102
1103/* Define if you have the mkstemp function. */
1104#define HAVE_MKSTEMP 1
1105
0db9d8d2
JJ
1106/* Define if you have the nanosleep function. */
1107#undef HAVE_NANOSLEEP
1108
4b37e99a
JJ
1109/* Define if you have the putenv function. */
1110#define HAVE_PUTENV 1
1111
1112/* Define if you have the setenv function. */
1113#undef HAVE_SETENV
1114
0db9d8d2
JJ
1115/* Define if you have the shl_load function. */
1116#undef HAVE_SHL_LOAD
1117
1118/* Define if you have strtok_r function. */
1119#undef HAVE_STRTOK_R
1120
68874acf 1121/* Define if you have thr_setconcurrency function */
181cbcf4 1122#undef HAVE_THR_SETCONCURRENCY
68874acf 1123
0db9d8d2 1124/* Define if you have the uname function. */
508e0acb 1125#define HAVE_UNAME 1
0db9d8d2
JJ
1126
1127/* Define if you have the usleep function. */
508e0acb 1128#define HAVE_USLEEP 1
0db9d8d2 1129
0db9d8d2
JJ
1130/* Define if you have the <X11/XKBlib.h> header file. */
1131#undef HAVE_X11_XKBLIB_H
1132
9988e82e
JJ
1133/* Define if you have the fnmatch() function */
1134#undef HAVE_FNMATCH
1135
0db9d8d2
JJ
1136/* Define if you have the <fnmatch.h> header file. */
1137#undef HAVE_FNMATCH_H
1138
1139/* Define if you have the <iostream> header file. */
1140#undef HAVE_IOSTREAM
1141
1142/* Define if you have the <linux/joystick.h> header file. */
1143#undef HAVE_LINUX_JOYSTICK_H
1144
1145/* Define if you have the <sched.h> header file. */
1146#undef HAVE_SCHED_H
1147
1148/* Define if you have the <strings.h> header file. */
508e0acb 1149#define HAVE_STRINGS_H 1
0db9d8d2
JJ
1150
1151/* Define if you have the <unistd.h> header file. */
508e0acb 1152#define HAVE_UNISTD_H 1
0db9d8d2 1153
4b37e99a
JJ
1154/* Define if you have the <fcntl.h> header file. */
1155#define HAVE_FCNTL_H 1
1156
0db9d8d2 1157/* Define if you have the <wchar.h> header file. */
508e0acb 1158#define HAVE_WCHAR_H 1
0db9d8d2
JJ
1159
1160/* Define if you have the <wcstr.h> header file. */
1161#undef HAVE_WCSTR_H
1162
4b37e99a
JJ
1163/* Define if you have the <wctype.h> header file. */
1164#undef HAVE_WCTYPE_H
1165
35e92fbf 1166/* Define if you have the <iconv.h> header file and iconv() symbol. */
181cbcf4
JJ
1167#define HAVE_ICONV_H 1
1168
35e92fbf
JJ
1169/* Define as "const" if the declaration of iconv() needs const. */
1170#undef ICONV_CONST
1171
181cbcf4
JJ
1172/* Define if you have the <langinfo.h> header file. */
1173#define HAVE_LANGINFO_H 1
1174
0f02d3d0
JJ
1175/* Define if you have the <w32api.h> header file (mingw,cygwin). */
1176#undef HAVE_W32API_H
1177
f3858bf5
JJ
1178/* Define if you have the <esd.h> header file. */
1179/* #undef HAVE_ESD_H */
1180
9e4e191a
JJ
1181/* Define if you have wcsrtombs() function */
1182#define HAVE_WCSRTOMBS 1
1183
b2ddee86
JJ
1184/* Define this if you have fputws() and putwc() */
1185#define HAVE_FPUTWC 1
1186
1187/* Define this if you have wprintf() and related functions */
1188#define HAVE_WPRINTF 1
1189
1190/* Define this if you have vswprintf() and related functions */
1191#define HAVE_VSWPRINTF 1
1192
1507adbb
JJ
1193/* Define this if you have _vsnwprintf */
1194#undef HAVE__VSNWPRINTF
1195
68874acf
JJ
1196/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
1197#undef HAVE_XIM
1198
b2ddee86
JJ
1199/* ---------------------------------------------------------------------
1200 Win32 adjustments section
1201 ---------------------------------------------------------------------
1202 */
1203
1204#ifdef __WIN32__
1205
1206/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
1207 with wx/msw/setup.h */
1208#define wxUSE_XPM_IN_MSW wxUSE_XPM
1209
1210#endif /* __WIN32__ */
1211
9e4e191a
JJ
1212/* --------------------------------------------------------*
1213 * This stuff is static, it doesn't get modified directly
1214 * by configure.
1215 */
1216
1217#include "wx/chkconf.h"
1218
1219/*
1220 define some constants identifying wxWindows version in more details t
1221 just the version number
1222*/
1223
1224/* wxLogChain class available */
1225#define wxHAS_LOG_CHAIN 1
1226
1227/* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
1228#define wxHAS_WORKING_GTK_DC_BLIT 1
1229
6804a3f7
JJ
1230/* Define this is you have X11/extensions/shape.h */
1231#define HAVE_XSHAPE 1
1232
0db9d8d2 1233#endif /* __WX_SETUP_H__ */