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