]> git.saurik.com Git - wxWidgets.git/blob - setup.h.in
debug check for infinite loop in InitializeClasses() added
[wxWidgets.git] / setup.h.in
1
2 /* This define (__WX_SETUP_H__) is used both to insure setup.h is included
3 * only once and to indicate that we are building using configure. */
4 #ifndef __WX_SETUP_H__
5 #define __WX_SETUP_H__
6
7 #ifdef __GNUG__
8 #pragma interface
9 #endif
10
11 /* never undefine inline or const keywords for C++ compilation */
12 #ifndef __cplusplus
13
14 /* Define to empty if the keyword does not work. */
15 #undef const
16
17 /* Define as __inline if that's what the C compiler calls it. */
18 #undef inline
19
20 #endif /* __cplusplus */
21
22 /* Define to `int' if <sys/types.h> doesn't define. */
23 #undef gid_t
24
25 /* Define if you don't have vprintf but do have _doprnt. */
26 #undef HAVE_DOPRNT
27
28 /* Define if you have the vprintf function. */
29 #undef HAVE_VPRINTF
30
31 /* Define to `int' if <sys/types.h> doesn't define. */
32 #undef mode_t
33
34 /* Define to `long' if <sys/types.h> doesn't define. */
35 #undef off_t
36
37 /* Define to `int' if <sys/types.h> doesn't define. */
38 #undef pid_t
39
40 /* Define to `unsigned' if <sys/types.h> doesn't define. */
41 #undef size_t
42
43 /* Define if you have the ANSI C header files. */
44 #undef STDC_HEADERS
45
46 /* Define to `int' if <sys/types.h> doesn't define. */
47 #undef uid_t
48
49 /* Define if your processor stores words with the most significant
50 byte first (like Motorola and SPARC, unlike Intel and VAX). */
51 #undef WORDS_BIGENDIAN
52
53 /* Define if the X Window System is missing or not being used. */
54 #undef X_DISPLAY_MISSING
55
56 /* Define if lex declares yytext as a char * by default, not a char[]. */
57 #undef YYTEXT_POINTER
58
59 #undef __WXGTK12__
60
61 /*
62 * Define to 1 for Unix[-like] system
63 */
64 #define wxUSE_UNIX 0
65
66 #undef __UNIX__
67 #undef __LINUX__
68 #undef __SGI__
69 #undef __HPUX__
70 #undef __SYSV__
71 #undef __SVR4__
72 #undef __AIX__
73 #undef __SUN__
74 #undef __SOLARIS__
75 #undef __SUNOS__
76 #undef __ALPHA__
77 #undef __OSF__
78 #undef __BSD__
79 #undef __FREEBSD__
80 #undef __VMS__
81 #undef __ULTRIX__
82 #undef __DATA_GENERAL__
83 #undef __EMX__
84 #undef _GNU_SOURCE
85
86 /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
87 #ifndef __WINDOWS__
88 #undef __WINDOWS__
89 #endif
90
91 #undef __WIN95__
92 #undef __WIN32__
93 #undef __GNUWIN32__
94 #undef STRICT
95 #undef WINVER
96
97 /* enable native status bar under Win32 */
98 #ifdef __WIN95__
99 #define wxUSE_NATIVE_STATUSBAR 1
100 #endif
101
102 /* enable rich edit under Win32 */
103 #if defined(__WIN95__) && !defined(__TWIN32__) && !defined(__GNUWIN32_OLD__)
104 #define wxUSE_RICHEDIT 1
105 #else
106 #define wxUSE_RICHEDIT 0
107 #endif
108
109 /*
110 * Supports bool type
111 */
112 #undef HAVE_BOOL
113
114 /*
115 * Use zlib
116 */
117 #define wxUSE_ZLIB 0
118 /*
119 * Use libpng
120 */
121 #define wxUSE_LIBPNG 0
122 /*
123 * Use libjpeg
124 */
125 #define wxUSE_LIBJPEG 0
126 /*
127 * Use libtiff
128 */
129 #define wxUSE_LIBTIFF 0
130 /*
131 * Use iODBC
132 */
133 #define wxUSE_ODBC 0
134 #define wxODBC_FWD_ONLY_CURSORS 1
135 /*
136 * Use Threads
137 */
138 #define wxUSE_THREADS 0
139 /*
140 * Have glibc2
141 */
142 #define wxHAVE_GLIBC2 0
143 /*
144 * Use libXpm
145 */
146 #define wxHAVE_LIB_XPM 0
147 /*
148 * Use OpenGL
149 */
150 #define wxUSE_OPENGL 0
151
152 /*
153 * Use GUI
154 */
155 #define wxUSE_GUI 0
156 /*
157 * Don't use GUI (defined to 1 when compiling/using base only)
158 */
159 #define wxUSE_NOGUI 0
160
161 /*
162 * Use constraints mechanism
163 */
164 #define wxUSE_CONSTRAINTS 0
165
166 /*
167 * Use validators
168 */
169 #define wxUSE_VALIDATORS 0
170
171 /*
172 * Use accelerators
173 */
174 #define wxUSE_ACCEL 0
175
176 /*
177 * Use wxTextEntryDialog
178 */
179 #define wxUSE_TEXTDLG 0
180
181 /*
182 * Use startup tips
183 */
184 #define wxUSE_STARTUP_TIPS 0
185
186 /*
187 * Use progress dialog
188 */
189 #define wxUSE_PROGRESSDLG 0
190
191 /*
192 * Use directory chooser dialog
193 */
194 #define wxUSE_DIRDLG 0
195
196 /*
197 * Joystick support (Linux/GTK only)
198 */
199 #define wxUSE_JOYSTICK 0
200
201 /*
202 * Use this control
203 */
204 #define wxUSE_CARET 0
205 /*
206 * Use this control
207 */
208 #define wxUSE_BMPBUTTON 0
209 /*
210 * Use this control
211 */
212 #define wxUSE_CHECKBOX 0
213 /*
214 * Use this control
215 */
216 #define wxUSE_CHECKLISTBOX 0
217 /*
218 * Use this control
219 */
220 #define wxUSE_COMBOBOX 0
221 /*
222 * Use this control
223 */
224 #define wxUSE_CHOICE 0
225 /*
226 * Use this control
227 */
228 #define wxUSE_GAUGE 0
229 /*
230 * Use this control
231 */
232 #define wxUSE_GRID 0
233 /*
234 * Use this control
235 */
236 #define wxUSE_NEW_GRID 0
237 /*
238 * Use the new prototype wxGrid classes
239 * (wxUSE_GRID must also be defined)
240 */
241 #define wxUSE_IMAGLIST 0
242 /*
243 * Use this control
244 */
245 #define wxUSE_LISTBOX 0
246 /*
247 * Use this control
248 */
249 #define wxUSE_LISTCTRL 0
250 /*
251 * Use this control
252 */
253 #define wxUSE_NOTEBOOK 0
254 /*
255 * Use this control
256 */
257 #define wxUSE_RADIOBOX 0
258 /*
259 * Use this control
260 */
261 #define wxUSE_RADIOBTN 0
262 /*
263 * Use this control
264 */
265 #define wxUSE_SASH 0
266 /*
267 * Use this control
268 */
269 #define wxUSE_SCROLLBAR 0
270 /*
271 * Use this control
272 */
273 #define wxUSE_SLIDER 0
274 /*
275 * Use this control
276 */
277 #define wxUSE_SPINBTN 0
278 /*
279 * Use this control
280 */
281 #define wxUSE_SPLITTER 0
282 /*
283 * Use this control
284 */
285 #define wxUSE_STATBMP 0
286 /*
287 * Use this control
288 */
289 #define wxUSE_STATBOX 0
290 /*
291 * Use this control
292 */
293 #define wxUSE_STATLINE 0
294 /*
295 * Use this control
296 */
297 #define wxUSE_STATUSBAR 0
298 /*
299 * Use Tab dialog class - obsolete, use wxNotebook instead
300 */
301 #define wxUSE_TAB_DIALOG 0
302 /* compatibility */
303 #define wxUSE_TABDIALOG wxUSE_TAB_DIALOG
304 /*
305 * Use this control
306 */
307 #define wxUSE_TOOLBAR 0
308
309 #if defined(__WXWINE__) || defined(__GNUWIN32__)
310 #define wxUSE_OWNER_DRAWN 1
311 #if wxUSE_TOOLBAR
312 #define wxUSE_BUTTONBAR 1
313 #endif
314 #endif
315
316 /*
317 * Use this control
318 */
319 #define wxUSE_TREECTRL 0
320
321 /*
322 * Use wxLongLong (a.k.a. int64) class
323 */
324 #define wxUSE_LONGLONG 0
325
326 /*
327 * Use wxFile class
328 */
329 #define wxUSE_FILE 0
330 /*
331 * Use wxTextFile class
332 */
333 #define wxUSE_TEXTFILE 0
334 /*
335 * Use log classes and logging functions
336 */
337 #define wxUSE_LOG 0
338 /*
339 * Use time and date classes
340 */
341 #define wxUSE_TIMEDATE 0
342 /*
343 * Use wave class
344 */
345 #define wxUSE_WAVE 0
346 /*
347 * Use config system
348 */
349 #define wxUSE_CONFIG 0
350 /*
351 * Use intl system
352 */
353 #define wxUSE_INTL 0
354 /*
355 * Use streams
356 */
357 #define wxUSE_STREAMS 0
358 /*
359 * Use class serialization
360 */
361 #define wxUSE_SERIAL 0
362 /*
363 * Use sockets
364 */
365 #define wxUSE_SOCKETS 0
366 /*
367 * Use dialup manager
368 */
369 #define wxUSE_DIALUP_MANAGER 0
370 /*
371 * Use standard C++ streams if 1. If 0, use wxWin
372 * streams implementation.
373 */
374 #define wxUSE_STD_IOSTREAM 0
375 /*
376 * wxLibrary class
377 */
378 #define wxUSE_DYNLIB_CLASS 0
379
380 /*
381 * Use font metric files in GetTextExtent for wxPostScriptDC
382 * Use consistent PostScript fonts for AFM and printing (!)
383 */
384 #define wxUSE_AFM_FOR_POSTSCRIPT 0
385 #define wxUSE_NORMALIZED_PS_FONTS 0
386
387 /* compatibility */
388 #define WX_NORMALIZED_PS_FONTS wxUSE_NORMALIZED_PS_FONTS
389
390 /*
391 * Use PostScript device context
392 */
393 #define wxUSE_POSTSCRIPT 0
394
395 /*
396 * Compile wxString with some Unicode support?
397 */
398 #define wxUSE_WCHAR_T 0
399
400 /*
401 * Compile wxString in wide character (Unicode) mode?
402 */
403 #define wxUSE_UNICODE 0
404
405 /*
406 * Compile wxString with (limited) multibyte char support?
407 */
408 #define wxUSE_MULTIBYTE 0
409
410 /*
411 * Work around a bug in GNU libc 5.x wcstombs() implementation.
412 *
413 * Note that you must link your programs with libc.a if you enable this and you
414 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
415 * thread-safe version of wcstombs()).
416 */
417 #define wxUSE_WCSRTOMBS 0
418
419 /*
420 * Use the new experimental implementation of wxString::Printf()?
421 *
422 * Warning: enabling this may cause internal compiler errors with gcc!
423 */
424 #define wxUSE_EXPERIMENTAL_PRINTF 0
425
426 /*
427 * Use Interprocess communication
428 */
429 #define wxUSE_IPC 0
430 /*
431 * Use wxGetResource & wxWriteResource (change .Xdefaults)
432 */
433 #define wxUSE_X_RESOURCES 0
434 /*
435 * Use clipboard
436 */
437 #define wxUSE_CLIPBOARD 0
438 /*
439 * Use tooltips
440 */
441 #define wxUSE_TOOLTIPS 0
442 /*
443 * Use dnd
444 */
445 #define wxUSE_DRAG_AND_DROP 0
446 /*
447 * Use spline
448 */
449 #define wxUSE_SPLINES 0
450 /*
451 * Use wxLibrary class
452 */
453 #define wxUSE_DYNLIB_CLASS 0
454
455 /*
456 * Use the mdi architecture
457 */
458 #define wxUSE_MDI_ARCHITECTURE 0
459 /*
460 * Use the document/view architecture
461 */
462 #define wxUSE_DOC_VIEW_ARCHITECTURE 0
463 /*
464 * Use the print/preview architecture
465 */
466 #define wxUSE_PRINTING_ARCHITECTURE 0
467
468 /*
469 * Use Prolog IO
470 */
471 #define wxUSE_PROLOGIO 0
472 /*
473 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
474 */
475 #define wxUSE_RESOURCES 0
476
477 /* for compatibility */
478 #define wxUSE_WX_RESOURCES wxUSE_RESOURCES
479
480 /*
481 * Use wxWindows help facility (needs wxUSE_IPC 1)
482 */
483 #define wxUSE_HELP 0
484 /*
485 * Use iostream.h rather than iostream
486 */
487 #define wxUSE_IOSTREAMH 0
488 /*
489 * Use Apple Ieee-double converter
490 */
491 #define wxUSE_APPLE_IEEE 0
492 /*
493 * Compatibility with 2.0 API.
494 */
495 #define WXWIN_COMPATIBILITY_2 1
496 /*
497 * Enables debugging: memory tracing, assert, etc., contains debug level
498 */
499 #define WXDEBUG 0
500 /*
501 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
502 * WARNING: this code may not work with all architectures, especially
503 * if alignment is an issue.
504 */
505 #define wxUSE_MEMORY_TRACING 0
506 /*
507 * Enable debugging version of global memory operators new and delete
508 * Disable it, If this causes problems (e.g. link errors)
509 */
510 #define wxUSE_DEBUG_NEW_ALWAYS 0
511 /*
512 * VZ: What does this one do? (FIXME)
513 */
514 #define wxUSE_DEBUG_CONTEXT 0
515 /*
516 * In debug mode, causes new to be defined to
517 * be WXDEBUG_NEW (see object.h). If this causes
518 * problems (e.g. link errors), set this to 0.
519 */
520 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
521 /*
522 * Matthews garbage collection (used for MrEd?)
523 */
524 #define WXGARBAGE_COLLECTION_ON 0
525 /*
526 * Use splines
527 */
528 #define wxUSE_SPLINES 0
529 /*
530 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
531 */
532 #define wxUSE_DYNAMIC_CLASSES 1
533
534 /*
535 * Support for metafiles
536 */
537 #define wxUSE_METAFILE 0
538
539 /*
540 * wxMiniFrame
541 */
542 #define wxUSE_MINIFRAME 0
543
544 /*
545 * wxHTML
546 */
547 #define wxUSE_HTML 0
548
549 /*
550 * (virtual) filesystems code
551 */
552 #define wxUSE_FS_INET 0
553 #define wxUSE_FS_ZIP 0
554
555 /*
556 * A class that shows info window when app is busy
557 * (works exactly like wxBusyCursor)
558 */
559 #define wxUSE_BUSYINFO 0
560
561 /*
562 * Zip stream for accessing files stored inside .zip archives
563 */
564 #define wxUSE_ZIPSTREAM 0
565
566 /*
567 * GIF image format support
568 */
569 #define wxUSE_GIF 0
570
571 /*
572 * PCX image format support
573 */
574 #define wxUSE_PCX 0
575
576 /*
577 * PNM image format support
578 */
579 #define wxUSE_PNM 0
580
581 /*
582 * Disable this if your compiler can't cope
583 * with omission of prototype parameters.
584 */
585 #define REMOVE_UNUSED_ARG 1
586 /*
587 * The const keyword is being introduced more in wxWindows.
588 * You can use this setting to maintain backward compatibility.
589 * If 0: will use const wherever possible.
590 * If 1: will use const only where necessary
591 * for precompiled headers to work.
592 * If 2: will be totally backward compatible, but precompiled
593 * headers may not work and program size will be larger.
594 */
595 #define CONST_COMPATIBILITY 0
596
597 /* The type of 3rd argument to getsockname() - usually size_t or int */
598 #undef SOCKLEN_T
599
600 /* gettimeofday() usually takes 2 arguments, but some really old systems might
601 * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
602 #undef WX_GETTIMEOFDAY_NO_TZ
603
604 /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
605 #undef WX_GMTOFF_IN_TM
606
607 /* Define if you have dlopen() */
608 #undef HAVE_DLOPEN
609
610 /* Define if you have gettimeofday() */
611 #undef HAVE_GETTIMEOFDAY
612
613 /* Define if you have ftime() */
614 #undef HAVE_FTIME
615
616 /* Define if you have localtime() */
617 #undef HAVE_LOCALTIME
618
619 /* Define if you have nanosleep() */
620 #undef HAVE_NANOSLEEP
621
622 /* Define if you have sched_yield */
623 #undef HAVE_SCHED_YIELD
624
625 /* Define if you have pthread_cancel */
626 #undef HAVE_PTHREAD_CANCEL
627
628 /* Define if you have shl_load() */
629 #undef HAVE_SHL_LOAD
630
631 /* Define if you have all functions to set thread priority */
632 #undef HAVE_THREAD_PRIORITY_FUNCTIONS
633
634 /* Define if you can specify exit functions to a thread */
635 #undef HAVE_THREAD_CLEANUP_FUNCTIONS
636
637 /* Define if you have timegm() function */
638 #undef HAVE_TIMEGM
639
640 /* Define if you have vsnprintf() */
641 #undef HAVE_VSNPRINTF
642
643 /* Define if you have usleep() */
644 #undef HAVE_USLEEP
645
646 /* Define if you have wcslen function */
647 #undef HAVE_WCSLEN
648
649 /* define if you have vsscanf function */
650 #undef HAVE_VSSCANF
651
652 /* The number of bytes in a char. */
653 #undef SIZEOF_CHAR
654
655 /* The number of bytes in a int. */
656 #undef SIZEOF_INT
657
658 /* The number of bytes in a int *. */
659 #undef SIZEOF_INT_P
660
661 /* The number of bytes in a long. */
662 #undef SIZEOF_LONG
663
664 /* The number of bytes in a long long. */
665 #undef SIZEOF_LONG_LONG
666
667 /* The number of bytes in a short. */
668 #undef SIZEOF_SHORT
669
670 /* Define if you have the dlopen function. */
671 #undef HAVE_DLOPEN
672
673 /* Define if you have the gethostname function. */
674 #undef HAVE_GETHOSTNAME
675
676 /* Define if you have the inet_addr function. */
677 #undef HAVE_INET_ADDR
678
679 /* Define if you have the inet_aton function. */
680 #undef HAVE_INET_ATON
681
682 /* Define if you have the nanosleep function. */
683 #undef HAVE_NANOSLEEP
684
685 /* Define if you have the shl_load function. */
686 #undef HAVE_SHL_LOAD
687
688 /* Define if you have strtok_r function. */
689 #undef HAVE_STRTOK_R
690
691 /* Define if you have the uname function. */
692 #undef HAVE_UNAME
693
694 /* Define if you have the usleep function. */
695 #undef HAVE_USLEEP
696
697 /* Define if you have the vfork function. */
698 #undef HAVE_VFORK
699
700 /* Define if you have the <X11/XKBlib.h> header file. */
701 #undef HAVE_X11_XKBLIB_H
702
703 /* Define if you have the <fnmatch.h> header file. */
704 #undef HAVE_FNMATCH_H
705
706 /* Define if you have the <iostream> header file. */
707 #undef HAVE_IOSTREAM
708
709 /* Define if you have the <linux/joystick.h> header file. */
710 #undef HAVE_LINUX_JOYSTICK_H
711
712 /* Define if you have the <sched.h> header file. */
713 #undef HAVE_SCHED_H
714
715 /* Define if you have the <strings.h> header file. */
716 #undef HAVE_STRINGS_H
717
718 /* Define if you have the <unistd.h> header file. */
719 #undef HAVE_UNISTD_H
720
721 /* Define if you have the <wchar.h> header file. */
722 #undef HAVE_WCHAR_H
723
724 /* Define if you have the <wcstr.h> header file. */
725 #undef HAVE_WCSTR_H
726
727 #endif /* __WX_SETUP_H__ */