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