Misc. 16-bit compilation fixes
[wxWidgets.git] / include / wx / motif / setup0.h
1 /* ./include/wx/motif/setup.h. Generated automatically by configure. */
2 /* setup.h
3
4 Do not edit this file. It is autogenerated by configure.
5
6 Leave the following blank line there!! Autoheader needs it. */
7 \f
8
9 /* ------------------------------------------------------------------------ */
10 /* Features as requested by configure */
11 /* ------------------------------------------------------------------------ */
12
13 #ifndef __GTKSETUPH__
14 #define __GTKSETUPH__
15
16 #ifdef __GNUG__
17 #pragma interface
18 #endif
19
20 /* define the system to compile */
21 #define __UNIX__ 1
22 #define __LINUX__ 1
23 /* #undef __SGI__ */
24 /* #undef __HPUX__ */
25 /* #undef __SYSV__ */
26 /* #undef __SVR4__ */
27 /* #undef __AIX__ */
28 /* #undef __SUN__ */
29 /* #undef __SOLARIS__ */
30 /* #undef __SUNOS__ */
31 /* #undef __ALPHA__ */
32 /* #undef __OSF__ */
33 /* #undef __BSD__ */
34 /* #undef __FREEBSD__ */
35 /* #undef __VMS__ */
36 /* #undef __ULTRIX__ */
37 /* #undef __DATA_GENERAL__ */
38
39 /* ------------------------------------------------------------------------ */
40 /* compiler options */
41 /* ------------------------------------------------------------------------ */
42
43 /*
44 * Supports bool type
45 */
46 #define HAVE_BOOL 1
47
48 /* ------------------------------------------------------------------------ */
49 /* library options */
50 /* ------------------------------------------------------------------------ */
51
52 /*
53 * Use zlib
54 */
55 #define wxUSE_ZLIB 1
56 /*
57 * Use libpng
58 */
59 #define wxUSE_LIBPNG 1
60 /*
61 * Use libjpeg
62 */
63 #define wxUSE_LIBJPEG 0
64 /*
65 * Use GIF
66 */
67 #define wxUSE_LIBGIF 1
68 /*
69 * Use PCX
70 */
71 #define wxUSE_PCX 1
72 /*
73 * Use PNM
74 */
75 #define wxUSE_PNM 1
76 /*
77 * Use iODBC
78 */
79 #define wxUSE_ODBC 0
80 /*
81 * Use Threads
82 */
83 #define wxUSE_THREADS 0
84 /*
85 * Have glibc2
86 */
87 #define wxHAVE_GLIBC2 1
88 /*
89 * Use libXpm
90 */
91 #define wxHAVE_LIB_XPM 0
92
93 #define wxUSE_XPM 1
94
95 /* ------------------------------------------------------------------------ */
96 /* GUI control options (always enabled in wxGTK) */
97 /* ------------------------------------------------------------------------ */
98 /*
99 * Use gauge item
100 */
101 #define wxUSE_GAUGE 1
102 /*
103 * Use combobox item
104 */
105 #define wxUSE_COMBOBOX 1
106 /*
107 * Use scrollbar item
108 */
109 #define wxUSE_SCROLLBAR 1
110 /*
111 * Use scrollbar item
112 */
113 #define wxUSE_RADIOBUTTON 1
114 /*
115 * Use toolbar item
116 */
117 #define wxUSE_TOOLBAR 1
118
119 /* ------------------------------------------------------------------------ */
120 /* non-GUI options */
121 /* ------------------------------------------------------------------------ */
122
123 /*
124 * Use time and date classes
125 */
126 #define wxUSE_TIMEDATE 1
127 /*
128 * Use config system
129 */
130 #define wxUSE_CONFIG 1
131 /*
132 * Use intl system
133 */
134 #define wxUSE_INTL 1
135 /*
136 * Use streams
137 */
138 #define wxUSE_STREAMS 1
139 /*
140 * Use class serialization
141 */
142 #define wxUSE_SERIAL 0
143 /*
144 * Use sockets
145 */
146 #define wxUSE_SOCKETS 1
147 /*
148 * Use standard C++ streams if 1. If 0, use wxWin
149 * streams implementation.
150 */
151 #define wxUSE_STD_IOSTREAM 1
152 /*
153 * Use constraints mechanism
154 */
155 #define wxUSE_CONSTRAINTS 1
156
157 /* ------------------------------------------------------------------------ */
158 /* PS options */
159 /* ------------------------------------------------------------------------ */
160
161 /*
162 * Use font metric files in GetTextExtent for wxPostScriptDC
163 * Use consistent PostScript fonts for AFM and printing (!)
164 */
165 #define wxUSE_AFM_FOR_POSTSCRIPT 1
166 #define WX_NORMALIZED_PS_FONTS 1
167 /*
168 * Use PostScript device context
169 */
170 #define wxUSE_POSTSCRIPT 1
171
172 /* ------------------------------------------------------------------------ */
173 /* wxString options */
174 /* ------------------------------------------------------------------------ */
175
176 /*
177 * Compile wxString with wide character (Unicode) support?
178 */
179 #define wxUSE_UNICODE 1
180
181 /*
182 * Work around a bug in GNU libc 5.x wcstombs() implementation.
183 *
184 * Note that you must link your programs with libc.a if you enable this and you
185 * have libc 5 (you should enable this for libc6 where wcsrtombs() is
186 * thread-safe version of wcstombs()).
187 */
188 #define wxUSE_WCSRTOMBS 0
189
190 /*
191 * On some platforms overloading on size_t/int doesn't work, yet we'd like
192 * to define both size_t and int version of wxString::operator[] because it
193 * should really be size_t, but a lot of old, broken code uses int indices.
194 */
195 #define wxUSE_SIZE_T_STRING_OPERATOR 1
196
197 /* ------------------------------------------------------------------------ */
198 /* misc options */
199 /* ------------------------------------------------------------------------ */
200
201 /*
202 * Use Interprocess communication
203 */
204 #define wxUSE_IPC 1
205 /*
206 * Use wxGetResource & wxWriteResource (change .Xdefaults)
207 */
208 #define wxUSE_RESOURCES 1
209 /*
210 * Use clipboard
211 */
212 #define wxUSE_CLIPBOARD 1
213 /*
214 * Use tooltips
215 */
216 #define wxUSE_TOOLTIPS 0
217 /*
218 * Use dnd
219 */
220 #define wxUSE_DRAG_AND_DROP 0
221 /*
222 * Use wxLibrary class
223 */
224 #define wxUSE_DYNLIB_CLASS 0
225
226 /* ------------------------------------------------------------------------ */
227 /* architecture options */
228 /* ------------------------------------------------------------------------ */
229
230 /*
231 * Use the mdi architecture
232 */
233 #define wxUSE_MDI_ARCHITECTURE 1
234 /*
235 * Use the document/view architecture
236 */
237 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
238 /*
239 * Use the print/preview architecture
240 */
241 #define wxUSE_PRINTING_ARCHITECTURE 1
242
243 /* ------------------------------------------------------------------------ */
244 /* Prolog and wxWindows' resource system options */
245 /* ------------------------------------------------------------------------ */
246
247 /*
248 * Use Prolog IO
249 */
250 #define wxUSE_PROLOGIO 1
251 /*
252 * Use Remote Procedure Call (Needs wxUSE_IPC and wxUSE_PROLOGIO)
253 */
254 #define wxUSE_RPC 0
255 /*
256 * Use wxWindows resource loading (.wxr-files) (Needs wxUSE_PROLOGIO 1)
257 */
258 #define wxUSE_WX_RESOURCES 1
259
260 /* ------------------------------------------------------------------------ */
261 /* the rest */
262 /* ------------------------------------------------------------------------ */
263
264 /*
265 * Use wxWindows help facility (needs wxUSE_IPC 1)
266 */
267 #define wxUSE_HELP 1
268 /*
269 * Use iostream.h rather than iostream
270 */
271 #define wxUSE_IOSTREAMH 1
272 /*
273 * Use Apple Ieee-double converter
274 */
275 #define wxUSE_APPLE_IEEE 1
276 /* Compatibility with 1.66 API.
277 Level 0: no backward compatibility, all new features
278 Level 1: wxDC, OnSize (etc.) compatibility, but
279 some new features such as event tables */
280 #define WXWIN_COMPATIBILITY 0
281 /*
282 * Enables debugging: memory tracing, assert, etc., contains debug level
283 */
284 #define WXDEBUG 1
285 /*
286 * Enables debugging version of wxObject::new and wxObject::delete (IF WXDEBUG)
287 * WARNING: this code may not work with all architectures, especially
288 * if alignment is an issue.
289 */
290 #define wxUSE_MEMORY_TRACING 0
291 /*
292 * Enable debugging version of global memory operators new and delete
293 * Disable it, If this causes problems (e.g. link errors)
294 */
295 #define wxUSE_DEBUG_NEW_ALWAYS 1
296 /*
297 * In debug mode, causes new to be defined to
298 * be WXDEBUG_NEW (see object.h). If this causes
299 * problems (e.g. link errors), set this to 0.
300 */
301 #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
302 /*
303 * Matthews garbage collection (used for MrEd?)
304 */
305 #define WXGARBAGE_COLLECTION_ON 0
306 /*
307 * Use splines
308 */
309 #define wxUSE_SPLINES 1
310 /*
311 * wxUSE_DYNAMIC_CLASSES is TRUE for the Xt port
312 */
313 #define wxUSE_DYNAMIC_CLASSES 1
314 /*
315 * Disable this if your compiler can't cope
316 * with omission of prototype parameters.
317 */
318 #define REMOVE_UNUSED_ARG 1
319 /*
320 * The const keyword is being introduced more in wxWindows.
321 * You can use this setting to maintain backward compatibility.
322 * If 0: will use const wherever possible.
323 * If 1: will use const only where necessary
324 * for precompiled headers to work.
325 * If 2: will be totally backward compatible, but precompiled
326 * headers may not work and program size will be larger.
327 */
328 #define CONST_COMPATIBILITY 0
329
330 /* ------------------------------------------------------------------------ */
331 /* System-specific stuff */
332 /* ------------------------------------------------------------------------ */
333
334 /* acconfig.h
335 This file is in the public domain.
336
337 Descriptive text for the C preprocessor macros that
338 the distributed Autoconf macros can define.
339 No software package will use all of them; autoheader copies the ones
340 your configure.in uses into your configuration header file templates.
341
342 The entries are in sort -df order: alphabetical, case insensitive,
343 ignoring punctuation (such as underscores). Although this order
344 can split up related entries, it makes it easier to check whether
345 a given entry is in the file. */
346
347 /* Define if on AIX 3.
348 System headers sometimes define this.
349 We just want to avoid a redefinition error message. */
350 #ifndef _ALL_SOURCE
351 /* #undef _ALL_SOURCE */
352 #endif
353
354 /* Define if using alloca.c. */
355 /* #undef C_ALLOCA */
356
357 /* Define if type char is unsigned and you are not using gcc. */
358 #ifndef __CHAR_UNSIGNED__
359 /* #undef __CHAR_UNSIGNED__ */
360 #endif
361
362 /* Define if the closedir function returns void instead of int. */
363 /* #undef CLOSEDIR_VOID */
364
365 /* Define to empty if the keyword does not work. */
366 /* #undef const */
367
368 /* Define to one of _getb67, GETB67, getb67 for Cray-2 and Cray-YMP systems.
369 This function is required for alloca.c support on those systems. */
370 /* #undef CRAY_STACKSEG_END */
371
372 /* Define for DGUX with <sys/dg_sys_info.h>. */
373 /* #undef DGUX */
374
375 /* Define if you have <dirent.h>. */
376 /* #undef DIRENT */
377
378 /* Define to the type of elements in the array set by `getgroups'.
379 Usually this is either `int' or `gid_t'. */
380 #define GETGROUPS_T gid_t
381
382 /* The type of 3rd argument to getsockname() - usually size_t or int */
383 #define SOCKLEN_T size_t
384
385 /* Define if the `getloadavg' function needs to be run setuid or setgid. */
386 /* #undef GETLOADAVG_PRIVILEGED */
387
388 /* Define if the `getpgrp' function takes no argument. */
389 /* #undef GETPGRP_VOID */
390
391 /* Define to `int' if <sys/types.h> doesn't define. */
392 /* #undef gid_t */
393
394 /* Define if you have alloca, as a function or macro. */
395 /* #undef HAVE_ALLOCA */
396
397 /* Define if you have <alloca.h> and it should be used (not on Ultrix). */
398 /* #undef HAVE_ALLOCA_H */
399
400 /* Define if you don't have vprintf but do have _doprnt. */
401 /* #undef HAVE_DOPRNT */
402
403 /* Define if you have sched.h */
404 #define HAVE_SCHED_H 0
405
406 /* Define if you have strings.h */
407 #define HAVE_STRINGS_H 1
408
409 /* Define if you have vprintf() */
410 #define HAVE_VPRINTF 1
411
412 /* Define if you have dlopen() */
413 /* #undef HAVE_DLOPEN */
414
415 /* Define if you have shl_load() */
416 /* #undef HAVE_SHL_LOAD */
417
418 /* Define if you have vsnprintf() */
419 #define HAVE_VSNPRINTF 1
420
421 /* Define if you have usleep() */
422 #define HAVE_USLEEP 1
423
424 /* Define if you have nanosleep() */
425 #define HAVE_NANOSLEEP 0
426
427 /* Define if you have vfork() */
428 #define HAVE_VFORK 1
429
430 /* Define if you have uname() */
431 #define HAVE_UNAME 1
432
433 /* Define if you have gethostname() */
434 /* #undef HAVE_GETHOSTNAME */
435
436 /* Define if you have sched_yield */
437 #define HAVE_SCHED_YIELD 1
438
439 /* Define if you have pthread_cancel */
440 #define HAVE_PTHREAD_CANCEL 1
441
442 /* Define if you have all functions to set thread priority */
443 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
444
445 /* Define if your system has its own `getloadavg' function. */
446 /* #undef HAVE_GETLOADAVG */
447
448 /* Define if you have the getmntent function. */
449 /* #undef HAVE_GETMNTENT */
450
451 /* Define if the `long double' type works. */
452 #define HAVE_LONG_DOUBLE 1
453
454 /* Define if you support file names longer than 14 characters. */
455 #define HAVE_LONG_FILE_NAMES 1
456
457 /* Define if you have a working `mmap' system call. */
458 /* #undef HAVE_MMAP */
459
460 /* Define if system calls automatically restart after interruption
461 by a signal. */
462 /* #undef HAVE_RESTARTABLE_SYSCALLS */
463
464 /* Define if your struct stat has st_blksize. */
465 #define HAVE_ST_BLKSIZE 1
466
467 /* Define if your struct stat has st_blocks. */
468 #define HAVE_ST_BLOCKS 1
469
470 /* Define if you have the strcoll function and it is properly defined. */
471 /* #undef HAVE_STRCOLL */
472
473 /* Define if your struct stat has st_rdev. */
474 #define HAVE_ST_RDEV 1
475
476 /* Define if you have the strftime function. */
477 /* #undef HAVE_STRFTIME */
478
479 /* Define if you have <sys/wait.h> that is POSIX.1 compatible. */
480 #define HAVE_SYS_WAIT_H 1
481
482 /* Define if your struct tm has tm_zone. */
483 #define HAVE_TM_ZONE 1
484
485 /* Define if you don't have tm_zone but do have the external array
486 tzname. */
487 /* #undef HAVE_TZNAME */
488
489 /* Define if you have <unistd.h>. */
490 #define HAVE_UNISTD_H 1
491
492 /* Define if you have <fnmatch.h>. */
493 #define HAVE_FNMATCH_H 1
494
495 /* Define if utime(file, NULL) sets file's timestamp to the present. */
496 /* #undef HAVE_UTIME_NULL */
497
498 /* Define if you have <vfork.h>. */
499 /* #undef HAVE_VFORK_H */
500
501 /* Define if you have the vprintf function. */
502 #define HAVE_VPRINTF 1
503
504 /* Define if you have the wait3 system call. */
505 /* #undef HAVE_WAIT3 */
506
507 /* Define as __inline if that's what the C compiler calls it. */
508 #ifndef __cplusplus
509 /* #undef inline */
510 #endif
511
512 /* Define if major, minor, and makedev are declared in <mkdev.h>. */
513 /* #undef MAJOR_IN_MKDEV */
514
515 /* Define if major, minor, and makedev are declared in <sysmacros.h>. */
516 /* #undef MAJOR_IN_SYSMACROS */
517
518 /* Define if on MINIX. */
519 /* #undef _MINIX */
520
521 /* Define to `int' if <sys/types.h> doesn't define. */
522 /* #undef mode_t */
523
524 /* Define if you don't have <dirent.h>, but have <ndir.h>. */
525 /* #undef NDIR */
526
527 /* Define if you have <memory.h>, and <string.h> doesn't declare the
528 mem* functions. */
529 /* #undef NEED_MEMORY_H */
530
531 /* Define if your struct nlist has an n_un member. */
532 /* #undef NLIST_NAME_UNION */
533
534 /* Define if you have <nlist.h>. */
535 /* #undef NLIST_STRUCT */
536
537 /* Define if your C compiler doesn't accept -c and -o together. */
538 /* #undef NO_MINUS_C_MINUS_O */
539
540 /* Define to `long' if <sys/types.h> doesn't define. */
541 /* #undef off_t */
542
543 /* Define to `int' if <sys/types.h> doesn't define. */
544 /* #undef pid_t */
545
546 /* Define if the system does not provide POSIX.1 features except
547 with this defined. */
548 /* #undef _POSIX_1_SOURCE */
549
550 /* Define if you need to in order for stat and other things to work. */
551 /* #undef _POSIX_SOURCE */
552
553 /* Define as the return type of signal handlers (int or void). */
554 #define RETSIGTYPE void
555
556 /* Define if the setvbuf function takes the buffering type as its second
557 argument and the buffer pointer as the third, as on System V
558 before release 3. */
559 /* #undef SETVBUF_REVERSED */
560
561 /* Define SIZESOF for some Objects */
562 #define SIZEOF_INT 4
563 #define SIZEOF_INT_P 4
564 #define SIZEOF_LONG 4
565 #define SIZEOF_LONG_LONG 8
566
567 /* Define to `unsigned' if <sys/types.h> doesn't define. */
568 /* #undef size_t */
569
570 /* If using the C implementation of alloca, define if you know the
571 direction of stack growth for your system; otherwise it will be
572 automatically deduced at run-time.
573 STACK_DIRECTION > 0 => grows toward higher addresses
574 STACK_DIRECTION < 0 => grows toward lower addresses
575 STACK_DIRECTION = 0 => direction of growth unknown
576 */
577 /* #undef STACK_DIRECTION */
578
579 /* Define if the `S_IS*' macros in <sys/stat.h> do not work properly. */
580 /* #undef STAT_MACROS_BROKEN */
581
582 /* Define if you have the ANSI C header files. */
583 #define STDC_HEADERS 1
584
585 /* Define on System V Release 4. */
586 /* #undef SVR4 */
587
588 /* Define on BSD */
589 /* #undef BSD */
590
591 /* Define on System V */
592 /* #undef SYSV */
593
594 /* Define if you don't have <dirent.h>, but have <sys/dir.h>. */
595 /* #undef SYSDIR */
596
597 /* Define if you don't have <dirent.h>, but have <sys/ndir.h>. */
598 /* #undef SYSNDIR */
599
600 /* Define if `sys_siglist' is declared by <signal.h>. */
601 /* #undef SYS_SIGLIST_DECLARED */
602
603 /* Define if you can safely include both <sys/time.h> and <time.h>. */
604 #define TIME_WITH_SYS_TIME 1
605
606 /* Define if your <sys/time.h> declares struct tm. */
607 /* #undef TM_IN_SYS_TIME */
608
609 /* Define to `int' if <sys/types.h> doesn't define. */
610 /* #undef uid_t */
611
612 /* Define for Encore UMAX. */
613 /* #undef UMAX */
614
615 /* Define for Encore UMAX 4.3 that has <inq_status/cpustats.h>
616 instead of <sys/cpustats.h>. */
617 /* #undef UMAX4_3 */
618
619 /* Define if you do not have <strings.h>, index, bzero, etc.. */
620 /* #undef USG */
621
622 /* Define if the system is System V Release 4 */
623 /* #undef SVR4 */
624
625 /* Define vfork as fork if vfork does not work. */
626 /* #undef vfork */
627
628 /* Define if the closedir function returns void instead of int. */
629 /* #undef VOID_CLOSEDIR */
630
631 /* Define if your processor stores words with the most significant
632 byte first (like Motorola and SPARC, unlike Intel and VAX). */
633 /* #undef WORDS_BIGENDIAN */
634
635 /* Define if lex declares yytext as a char * by default, not a char[]. */
636 #define YYTEXT_POINTER 1
637
638 #endif /* __GTKSETUPH__ */
639
640 \f
641 /* Leave that blank line there!! Autoheader needs it.
642 If you're adding to this file, keep in mind:
643 The entries are in sort -df order: alphabetical, case insensitive,
644 ignoring punctuation (such as underscores). */