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