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