setup.h_vms 29 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420
  1. /*****************************************************************************
  2. * *
  3. * Template for the set.h file for VMS *
  4. * Created from setup.h_in *
  5. * Author : J.Jansen (joukj@hrem.nano.tudelft.nl) *
  6. * Date : 21 January 2013 *
  7. * *
  8. *****************************************************************************/
  9. /* This define (__WX_SETUP_H__) is used both to insure setup.h is included
  10. * only once and to indicate that we are building using configure. */
  11. #ifndef __WX_SETUP_H__
  12. #define __WX_SETUP_H__
  13. #include <wx/vms_x_fix.h>
  14. /* never undefine inline or const keywords for C++ compilation */
  15. #ifndef __cplusplus
  16. /* Define to empty if the keyword does not work. */
  17. #undef const
  18. /* Define as __inline if that's what the C compiler calls it. */
  19. #undef inline
  20. #else
  21. #define __USE_STD_IOSTREAM 1
  22. #define _USE_STD_STAT 1
  23. #endif /* __cplusplus */
  24. /* fill in with the string wxGetOsDescription() will return */
  25. #define WXWIN_OS_DESCRIPTION "OpenVMS"
  26. /* the installation location prefix from configure */
  27. #undef wxINSTALL_PREFIX
  28. /* Define this to get extra features from GNU libc. */
  29. #undef _GNU_SOURCE
  30. /* Define to `int' if <sys/types.h> doesn't define. */
  31. #undef gid_t
  32. /* Define to `int' if <sys/types.h> doesn't define. */
  33. #undef mode_t
  34. /* Define to `long' if <sys/types.h> doesn't define. */
  35. #undef off_t
  36. /* Define to `int' if <sys/types.h> doesn't define. */
  37. #undef pid_t
  38. /* Define to `unsigned' if <sys/types.h> doesn't define. */
  39. #undef size_t
  40. /* Define if ssize_t type is available. */
  41. #define HAVE_SSIZE_T 1
  42. /* Define if you have the ANSI C header files. */
  43. #define STDC_HEADERS 1
  44. /* Define to `int' if <sys/types.h> doesn't define. */
  45. #undef uid_t
  46. /* Define if your processor stores words with the most significant
  47. byte first (like Motorola and SPARC, unlike Intel and VAX). */
  48. #undef WORDS_BIGENDIAN
  49. /* Define this if you want to use GPE features */
  50. /* #undef __WXGPE__ */
  51. /* Define this if your version of Motif is greater than 2.0 */
  52. /* #undef __WXMOTIF20__ */
  53. /* Define this if you are using Lesstif */
  54. /* #undef __WXLESSTIF__ */
  55. #ifdef __WXGTK__
  56. #ifndef VMS_GTK2
  57. #define GDK_WINDOWING_X11 1
  58. #endif
  59. /* Define this if your version of GTK+ is greater than 1.2.7 */
  60. #define __WXGTK127__ 1
  61. /* Define this if your version of GTK+ is greater than 2.0 */
  62. #ifdef VMS_GTK2
  63. /* Define this if your version of GTK+ is >= 3.0 */
  64. #if 0
  65. #define __WXGTK3__ 1
  66. #endif
  67. #define __WXGTK20__ 1
  68. /* Define this if your version of GTK+ is greater than 2.6 */
  69. #define __WXGTK26__ 1
  70. /* Define this if your version of GTK+ is greater than 2.10 */
  71. #define __WXGTK210__ 1
  72. /* Define this if your version of GTK+ is greater than 2.18 */
  73. #undef __WXGTK218__
  74. #include <types.h>
  75. typedef pid_t GPid;
  76. #define G_GNUC_INTERNAL
  77. #endif
  78. #endif
  79. #ifdef VMS_GTK2
  80. #define wxUSE_CAIRO 1
  81. #else
  82. #define wxUSE_CAIRO 0
  83. #endif
  84. /*
  85. * Define to 1 for Unix[-like] system
  86. */
  87. #define wxUSE_UNIX 1
  88. #define __UNIX__
  89. #undef __AIX__
  90. #undef __BSD__
  91. #undef __DARWIN__
  92. #undef __EMX__
  93. #undef __FREEBSD__
  94. #undef __HPUX__
  95. #undef __LINUX__
  96. #undef __NETBSD__
  97. #undef __OPENBSD__
  98. #undef __OSF__
  99. #undef __QNX__
  100. #undef __SGI__
  101. #undef __SOLARIS__
  102. #undef __SUN__
  103. #undef __SUNOS__
  104. #undef __SVR4__
  105. #undef __SYSV__
  106. #undef __ULTRIX__
  107. #undef __UNIXWARE__
  108. #define __VMS__
  109. #undef __IA64__
  110. #define __ALPHA__
  111. /* NanoX (with wxX11) */
  112. #define wxUSE_NANOX 0
  113. /* PowerPC Darwin & Mac OS X */
  114. #undef __POWERPC__
  115. /* Hack to make IOGraphicsTypes.h not define Point conflicting with MacTypes */
  116. #undef __Point__
  117. /* MS-DOS with DJGPP */
  118. #undef __DOS__
  119. /* Stupid hack; __WINDOWS__ clashes with wx/defs.h */
  120. #ifndef __WINDOWS__
  121. #undef __WINDOWS__
  122. #endif
  123. #ifndef __WIN32__
  124. #undef __WIN32__
  125. #endif
  126. #ifndef __GNUWIN32__
  127. #undef __GNUWIN32__
  128. #endif
  129. #ifndef STRICT
  130. #undef STRICT
  131. #endif
  132. #ifndef WINVER
  133. #undef WINVER
  134. #endif
  135. /* --- start common options --- */
  136. #define wxUSE_COMPILER_TLS 1
  137. #ifndef wxUSE_GUI
  138. #define wxUSE_GUI 1
  139. #endif
  140. #define WXWIN_COMPATIBILITY_2_6 1
  141. #define WXWIN_COMPATIBILITY_2_8 1
  142. #define wxEVENTS_COMPATIBILITY_2_8 1
  143. #define wxDIALOG_UNIT_COMPATIBILITY 1
  144. #define wxUSE_DEBUG_CONTEXT 1
  145. #define wxUSE_DEBUGREPORT 1
  146. #define wxUSE_MEMORY_TRACING 0
  147. #define wxUSE_GLOBAL_MEMORY_OPERATORS 0
  148. #define wxUSE_DEBUG_NEW_ALWAYS 1
  149. #define wxUSE_ON_FATAL_EXCEPTION 1
  150. #define wxUSE_STACKWALKER 0
  151. #ifndef wxUSE_UNICODE
  152. #if defined( __WXX11__ )
  153. #define wxUSE_UNICODE 0
  154. #else
  155. #define wxUSE_UNICODE 1
  156. #endif
  157. #endif
  158. #define wxUSE_WCHAR_T 1
  159. #define wxUSE_EXCEPTIONS 0
  160. #define wxUSE_EXTENDED_RTTI 0
  161. #define wxUSE_LOG 1
  162. #define wxUSE_LOGWINDOW 1
  163. #define wxUSE_LOGGUI 1
  164. #define wxUSE_LOG_DIALOG 1
  165. #define wxUSE_CMDLINE_PARSER 1
  166. #define wxUSE_THREADS 1
  167. #define wxUSE_STREAMS 1
  168. #define wxUSE_PRINTF_POS_PARAMS 0
  169. #define wxUSE_STL 0
  170. #if defined(__DMC__) || defined(__WATCOMC__) \
  171. || (defined(_MSC_VER) && _MSC_VER < 1200)
  172. #define wxUSE_STD_DEFAULT 0
  173. #else
  174. #define wxUSE_STD_DEFAULT 1
  175. #endif
  176. #define wxUSE_STD_CONTAINERS wxUSE_STD_DEFAULT
  177. #define wxUSE_STD_IOSTREAM wxUSE_STD_DEFAULT
  178. #define wxUSE_STD_STRING wxUSE_STD_DEFAULT
  179. #define wxUSE_STD_STRING_CONV_IN_WXSTRING wxUSE_STL
  180. #define wxUSE_IOSTREAMH 1
  181. #define wxUSE_LONGLONG 1
  182. #define wxUSE_BASE64 1
  183. #define wxUSE_CONSOLE_EVENTLOOP 1
  184. #define wxUSE_FILE 1
  185. #define wxUSE_FFILE 1
  186. #define wxUSE_FSVOLUME 1
  187. #define wxUSE_STDPATHS 1
  188. #define wxUSE_TEXTBUFFER 1
  189. #define wxUSE_TEXTFILE 1
  190. #define wxUSE_INTL 1
  191. #include <locale.h>
  192. #if defined (__WXMOTIF__)
  193. #define wxUSE_XLOCALE 0
  194. #else
  195. #define wxUSE_XLOCALE 1
  196. #endif
  197. #define wxUSE_DATETIME 1
  198. #define wxUSE_TIMER 1
  199. #define wxUSE_STOPWATCH 1
  200. #define wxUSE_FSWATCHER 0
  201. #define wxUSE_CONFIG 1
  202. #define wxUSE_CONFIG_NATIVE 0
  203. #define wxUSE_DIALUP_MANAGER 1
  204. #define wxUSE_DYNLIB_CLASS 1
  205. #define wxUSE_DYNAMIC_LOADER 0
  206. #define wxUSE_SOCKETS 1
  207. #include <socket.h>
  208. #define wxUSE_IPV6 0
  209. #define wxUSE_FILESYSTEM 1
  210. #define wxUSE_FS_ZIP 1
  211. #define wxUSE_FS_ARCHIVE 1
  212. #define wxUSE_FS_INET 1
  213. #define wxUSE_ARCHIVE_STREAMS 1
  214. #define wxUSE_ZIPSTREAM 1
  215. #define wxUSE_TARSTREAM 1
  216. #define wxUSE_ZLIB 1
  217. #define wxUSE_APPLE_IEEE 0
  218. #define wxUSE_JOYSTICK 0
  219. #define wxUSE_FONTENUM 1
  220. #define wxUSE_FONTMAP 1
  221. #define wxUSE_MIMETYPE 1
  222. #define wxUSE_PROTOCOL 1
  223. #define wxUSE_PROTOCOL_FILE 1
  224. #define wxUSE_PROTOCOL_FTP 1
  225. #define wxUSE_PROTOCOL_HTTP 1
  226. #define wxUSE_URL 1
  227. #define wxUSE_URL_NATIVE 0
  228. #define wxUSE_VARIANT 1
  229. #define wxUSE_ANY 1
  230. #define wxUSE_REGEX 1
  231. #define wxUSE_SYSTEM_OPTIONS 1
  232. #define wxUSE_SOUND 1
  233. #define wxUSE_MEDIACTRL 1
  234. #define wxUSE_XRC 1
  235. #define wxUSE_XML wxUSE_XRC
  236. #define wxUSE_AUI 1
  237. #define wxUSE_RIBBON 1
  238. #define wxUSE_PROPGRID 1
  239. #define wxUSE_WEBVIEW 0
  240. #ifdef __WXMSW__
  241. #define wxUSE_WEBVIEW_IE 0
  242. #else
  243. #define wxUSE_WEBVIEW_IE 0
  244. #endif
  245. #if defined(__WXGTK__) || defined(__WXOSX__)
  246. #define wxUSE_WEBVIEW_WEBKIT 0
  247. #else
  248. #define wxUSE_WEBVIEW_WEBKIT 0
  249. #endif
  250. #ifdef _MSC_VER
  251. # if _MSC_VER >= 1310
  252. #define wxUSE_GRAPHICS_CONTEXT 0
  253. # else
  254. # define wxUSE_GRAPHICS_CONTEXT 0
  255. # endif
  256. #else
  257. #ifdef __WXGTK3__
  258. # define wxUSE_GRAPHICS_CONTEXT 1
  259. #else
  260. # define wxUSE_GRAPHICS_CONTEXT 0
  261. #endif
  262. #endif
  263. #define wxUSE_CONTROLS 1
  264. #define wxUSE_MARKUP 1
  265. #ifdef __WXMOTIF__
  266. #define wxUSE_POPUPWIN 0
  267. #else
  268. #define wxUSE_POPUPWIN 1
  269. #endif
  270. #define wxUSE_PREFERENCES_EDITOR 1
  271. #define wxUSE_TIPWINDOW 1
  272. #define wxUSE_STC 1
  273. #define wxUSE_ANIMATIONCTRL 1
  274. #define wxUSE_BANNERWINDOW 1
  275. #define wxUSE_BUTTON 1
  276. #define wxUSE_BMPBUTTON 1
  277. #define wxUSE_CALENDARCTRL 1
  278. #define wxUSE_CHECKBOX 1
  279. #define wxUSE_CHECKLISTBOX 1
  280. #define wxUSE_CHOICE 1
  281. #define wxUSE_COLLPANE 1
  282. #define wxUSE_COLOURPICKERCTRL 1
  283. #define wxUSE_COMBOBOX 1
  284. #define wxUSE_COMMANDLINKBUTTON 1
  285. #define wxUSE_DATAVIEWCTRL 1
  286. #define wxUSE_DATEPICKCTRL 1
  287. #define wxUSE_DIRPICKERCTRL 1
  288. #define wxUSE_EDITABLELISTBOX 1
  289. #define wxUSE_FILECTRL 1
  290. #define wxUSE_FILEPICKERCTRL 1
  291. #define wxUSE_FONTPICKERCTRL 1
  292. #define wxUSE_GAUGE 1
  293. #define wxUSE_HEADERCTRL 1
  294. #define wxUSE_HYPERLINKCTRL 1
  295. #define wxUSE_LISTBOX 1
  296. #define wxUSE_LISTCTRL 1
  297. #define wxUSE_RADIOBOX 1
  298. #define wxUSE_RADIOBTN 1
  299. #define wxUSE_RICHMSGDLG 1
  300. #define wxUSE_SCROLLBAR 1
  301. #define wxUSE_SEARCHCTRL 1
  302. #define wxUSE_SLIDER 1
  303. #define wxUSE_SPINBTN 1
  304. #define wxUSE_SPINCTRL 1
  305. #define wxUSE_STATBOX 1
  306. #define wxUSE_STATLINE 1
  307. #define wxUSE_STATTEXT 1
  308. #define wxUSE_STATBMP 1
  309. #define wxUSE_TEXTCTRL 1
  310. #define wxUSE_TIMEPICKCTRL 1
  311. #if defined (__WXMOTIF__) || defined( __WXGTK__ )
  312. #define wxUSE_TOGGLEBTN 1
  313. #else
  314. #define wxUSE_TOGGLEBTN 0
  315. #endif
  316. #define wxUSE_TREECTRL 1
  317. #define wxUSE_TREELISTCTRL 1
  318. #define wxUSE_STATUSBAR 1
  319. #define wxUSE_NATIVE_STATUSBAR 0
  320. #define wxUSE_TOOLBAR 1
  321. #define wxUSE_TOOLBAR_NATIVE 1
  322. #define wxUSE_NOTEBOOK 1
  323. #define wxUSE_LISTBOOK 1
  324. #define wxUSE_CHOICEBOOK 1
  325. #define wxUSE_TREEBOOK 1
  326. #define wxUSE_TOOLBOOK 1
  327. #define wxUSE_TASKBARICON 1
  328. #define wxUSE_GRID 1
  329. #define wxUSE_MINIFRAME 1
  330. #define wxUSE_COMBOCTRL 1
  331. #define wxUSE_ODCOMBOBOX 1
  332. #define wxUSE_BITMAPCOMBOBOX 1
  333. #define wxUSE_REARRANGECTRL 1
  334. #define wxUSE_ACCEL 1
  335. #define wxUSE_ARTPROVIDER_STD 1
  336. #define wxUSE_ARTPROVIDER_TANGO 1
  337. #define wxUSE_HOTKEY 1
  338. #define wxUSE_CARET 1
  339. #define wxUSE_DISPLAY 0
  340. #define wxUSE_GEOMETRY 1
  341. #define wxUSE_IMAGLIST 1
  342. #define wxUSE_INFOBAR 1
  343. #define wxUSE_MENUS 1
  344. #define wxUSE_NOTIFICATION_MESSAGE 1
  345. #if defined (__WXMOTIF__)
  346. #define wxUSE_RICHTOOLTIP 0
  347. #else
  348. #define wxUSE_RICHTOOLTIP 1
  349. #endif
  350. #define wxUSE_SASH 1
  351. #define wxUSE_SPLITTER 1
  352. #if defined (__WXMOTIF__) || defined( __WXX11__ )
  353. #define wxUSE_TOOLTIPS 0
  354. #else
  355. #define wxUSE_TOOLTIPS 1
  356. #endif
  357. #define wxUSE_VALIDATORS 1
  358. #ifdef __WXMSW__
  359. #define wxUSE_AUTOID_MANAGEMENT 0
  360. #else
  361. #define wxUSE_AUTOID_MANAGEMENT 0
  362. #endif
  363. #define wxUSE_COMMON_DIALOGS 1
  364. #define wxUSE_BUSYINFO 1
  365. #define wxUSE_CHOICEDLG 1
  366. #define wxUSE_COLOURDLG 1
  367. #define wxUSE_DIRDLG 1
  368. #define wxUSE_FILEDLG 1
  369. #define wxUSE_FINDREPLDLG 1
  370. #define wxUSE_FONTDLG 1
  371. #define wxUSE_MSGDLG 1
  372. #define wxUSE_PROGRESSDLG 1
  373. #define wxUSE_STARTUP_TIPS 1
  374. #define wxUSE_TEXTDLG 1
  375. #define wxUSE_NUMBERDLG 1
  376. #define wxUSE_SPLASH 1
  377. #define wxUSE_WIZARDDLG 1
  378. #define wxUSE_ABOUTDLG 1
  379. #define wxUSE_FILE_HISTORY 1
  380. #define wxUSE_METAFILE 0
  381. #define wxUSE_ENH_METAFILE 0
  382. #define wxUSE_WIN_METAFILES_ALWAYS 0
  383. #define wxUSE_MDI 1
  384. #define wxUSE_DOC_VIEW_ARCHITECTURE 1
  385. #define wxUSE_MDI_ARCHITECTURE 1
  386. #define wxUSE_PRINTING_ARCHITECTURE 1
  387. #define wxUSE_HTML 1
  388. #define wxUSE_GLCANVAS 1
  389. #define wxUSE_RICHTEXT 1
  390. #define wxUSE_CLIPBOARD 1
  391. #define wxUSE_DATAOBJ 1
  392. #ifdef __WXGTK__
  393. #define wxUSE_DRAG_AND_DROP 1
  394. #else
  395. #define wxUSE_DRAG_AND_DROP 0
  396. #endif
  397. #define wxUSE_ACCESSIBILITY 0
  398. #define wxUSE_SNGLINST_CHECKER 1
  399. #define wxUSE_DRAGIMAGE 1
  400. #define wxUSE_IPC 1
  401. #define wxUSE_HELP 1
  402. #define wxUSE_MS_HTML_HELP 0
  403. #define wxUSE_WXHTML_HELP 1
  404. #define wxUSE_CONSTRAINTS 1
  405. #define wxUSE_SPLINES 1
  406. #define wxUSE_MOUSEWHEEL 1
  407. #define wxUSE_UIACTIONSIMULATOR 1
  408. #define wxUSE_POSTSCRIPT 1
  409. #define wxUSE_AFM_FOR_POSTSCRIPT 1
  410. #define wxUSE_SVG 1
  411. #define wxUSE_IMAGE 1
  412. #define wxUSE_LIBPNG 1
  413. #define wxUSE_LIBJPEG 1
  414. #define wxUSE_LIBTIFF 1
  415. #define wxUSE_TGA 1
  416. #define wxUSE_GIF 1
  417. #define wxUSE_PNM 1
  418. #define wxUSE_PCX 1
  419. #define wxUSE_IFF 1
  420. #define wxUSE_XPM 1
  421. #define wxUSE_ICO_CUR 1
  422. #define wxUSE_PALETTE 1
  423. #if defined( __WXX11__ )
  424. #define wxUSE_ALL_THEMES 1
  425. #define wxUSE_THEME_GTK 1
  426. #define wxUSE_THEME_METAL 1
  427. #define wxUSE_THEME_MONO 1
  428. #define wxUSE_THEME_WIN32 1
  429. #else
  430. #define wxUSE_ALL_THEMES 0
  431. #define wxUSE_THEME_GTK 0
  432. #define wxUSE_THEME_METAL 0
  433. #define wxUSE_THEME_MONO 0
  434. #define wxUSE_THEME_WIN32 0
  435. #endif
  436. /* --- end common options --- */
  437. /*
  438. * Unix/VMS-specific options
  439. */
  440. #define wxUSE_SELECT_DISPATCHER 1
  441. #define wxUSE_EPOLL_DISPATCHER 0
  442. #define wxUSE_UNICODE_UTF8 0
  443. #define wxUSE_UTF8_LOCALE_ONLY 0
  444. /*
  445. Use GStreamer for Unix.
  446. Default is 0 as this requires a lot of dependencies which might not be
  447. available.
  448. Recommended setting: 1 (wxMediaCtrl won't work by default without it)
  449. */
  450. #define wxUSE_GSTREAMER 0
  451. /* --- start MSW options --- */
  452. #ifndef wxUSE_UNICODE_MSLU
  453. #define wxUSE_UNICODE_MSLU 0
  454. #endif
  455. #define wxUSE_MFC 0
  456. #define wxUSE_OLE 0
  457. #define wxUSE_OLE_AUTOMATION 0
  458. #define wxUSE_ACTIVEX 0
  459. #define wxUSE_DC_CACHEING 1
  460. #define wxUSE_WXDIB 0
  461. #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 0
  462. #define wxUSE_REGKEY 0
  463. #define wxUSE_RICHEDIT 0
  464. #define wxUSE_RICHEDIT2 0
  465. #define wxUSE_OWNER_DRAWN 1
  466. #define wxUSE_TASKBARICON_BALLOONS 0
  467. #define wxUSE_UXTHEME 0
  468. #define wxUSE_INKEDIT 0
  469. #define wxUSE_INICONF 0
  470. #define wxUSE_DATEPICKCTRL_GENERIC 0
  471. #define wxUSE_TIMEPICKCTRL_GENERIC 0
  472. #define wxUSE_CRASHREPORT 0
  473. /* --- end MSW options --- */
  474. /*
  475. * Define if your compiler supports the explicit keyword
  476. */
  477. #define HAVE_EXPLICIT 1
  478. /*
  479. * Define if your compiler has C99 va_copy
  480. */
  481. #undef HAVE_VA_COPY
  482. /*
  483. * Define if va_list type is an array
  484. */
  485. #undef VA_LIST_IS_ARRAY
  486. /*
  487. * Define if the compiler supports variadic macros
  488. */
  489. #undef HAVE_VARIADIC_MACROS
  490. #if defined(__NAMESPACE_STD) && !defined(__NAMESPACE_STD_ONLY)
  491. /*
  492. * Define if your compiler has std::wstring
  493. */
  494. #define HAVE_STD_WSTRING 1
  495. /*
  496. * Define if your compiler has compliant std::string::compare
  497. */
  498. #define HAVE_STD_STRING_COMPARE 1
  499. #else
  500. /*
  501. * Define if your compiler has std::wstring
  502. */
  503. /* #unfine HAVE_STD_WSTRING */
  504. /*
  505. * Define if your compiler has compliant std::string::compare
  506. */
  507. #undef HAVE_STD_STRING_COMPARE
  508. #endif
  509. /*
  510. * Define if your compiler has <hash_map>
  511. */
  512. #undef HAVE_HASH_MAP
  513. /*
  514. * Define if your compiler has <ext/hash_map>
  515. */
  516. #undef HAVE_EXT_HASH_MAP
  517. /*
  518. * Define if your compiler has std::hash_map/hash_set
  519. */
  520. #undef HAVE_STD_HASH_MAP
  521. /*
  522. * Define if your compiler has __gnu_cxx::hash_map/hash_set
  523. */
  524. #undef HAVE_GNU_CXX_HASH_MAP
  525. /*
  526. * Define if your compiler has std::unordered_map
  527. */
  528. #undef HAVE_STD_UNORDERED_MAP
  529. /*
  530. * Define if your compiler has std::unordered_set
  531. */
  532. #undef HAVE_STD_UNORDERED_SET
  533. /*
  534. * Define if your compiler has std::tr1::unordered_map
  535. */
  536. #undef HAVE_TR1_UNORDERED_MAP
  537. /*
  538. * Define if your compiler has std::tr1::unordered_set
  539. */
  540. #undef HAVE_TR1_UNORDERED_SET
  541. /*
  542. * Define if your compiler has <tr1/type_traits>
  543. */
  544. #undef HAVE_TR1_TYPE_TRAITS
  545. /*
  546. * Define if your compiler has <type_traits>
  547. */
  548. #undef HAVE_TYPE_TRAITS
  549. /*
  550. * Define if the compiler supports simple visibility declarations.
  551. */
  552. #undef HAVE_VISIBILITY
  553. /*
  554. * Define if the compiler supports GCC's atomic memory access builtins
  555. */
  556. #undef HAVE_GCC_ATOMIC_BUILTINS
  557. /*
  558. * Define if compiler's visibility support in libstdc++ is broken
  559. */
  560. #undef HAVE_BROKEN_LIBSTDCXX_VISIBILITY
  561. /*
  562. * The built-in regex supports advanced REs in additional to POSIX's basic
  563. * and extended. Your system regex probably won't support this, and in this
  564. * case WX_NO_REGEX_ADVANCED should be defined.
  565. */
  566. #undef WX_NO_REGEX_ADVANCED
  567. /*
  568. * On GNU systems use re_search instead of regexec, since the latter does a
  569. * strlen on the search text affecting the performance of some operations.
  570. */
  571. #undef HAVE_RE_SEARCH
  572. /*
  573. * Use SDL for audio (Unix)
  574. */
  575. #define wxUSE_LIBSDL 0
  576. /*
  577. * Use GTK print for printing under GTK+ 2.10+
  578. */
  579. #ifdef VMS_GTK2
  580. #define wxUSE_GTKPRINT 1
  581. #else
  582. #define wxUSE_GTKPRINT 0
  583. #endif
  584. /*
  585. * Use GNOME VFS for MIME types
  586. */
  587. #define wxUSE_LIBGNOMEVFS 0
  588. /*
  589. * Use the Hildon framework
  590. */
  591. #define wxUSE_LIBHILDON 0
  592. /*
  593. * Use the Hildon 2.0 framework
  594. */
  595. #define wxUSE_LIBHILDON2 0
  596. #define wxUSE_DC_TRANSFORM_MATRIX 1
  597. /*
  598. * Use libnotify library.
  599. * Use libnotify 0.7+ API.
  600. */
  601. #ifdef VMS_GTK2
  602. #define wxUSE_LIBNOTIFY 1
  603. #define wxUSE_LIBNOTIFY_0_7 1
  604. #else
  605. #define wxUSE_LIBNOTIFY 0
  606. #define wxUSE_LIBNOTIFY_0_7 0
  607. #endif
  608. /*
  609. * Use libXpm
  610. */
  611. #define wxHAVE_LIB_XPM 1
  612. /*
  613. * Define if you have pthread_cleanup_push/pop()
  614. */
  615. #define wxHAVE_PTHREAD_CLEANUP 1
  616. /*
  617. * Define if compiler has __thread keyword.
  618. */
  619. #undef HAVE___THREAD_KEYWORD
  620. /*
  621. * Define if large (64 bit file offsets) files are supported.
  622. */
  623. #undef HAVE_LARGEFILE_SUPPORT
  624. /*
  625. * Use OpenGL
  626. */
  627. #define wxUSE_OPENGL 1
  628. /* for compatibility */
  629. /*
  630. * Use wxWindows help facility
  631. */
  632. #define wxUSE_HELP 1
  633. /*
  634. * Use built-in HTML-based help controller
  635. */
  636. #define wxUSE_WXHTML_HELP 1
  637. /*
  638. * Use MS HTML Help controller (win32)
  639. */
  640. #define wxUSE_MS_HTML_HELP 0
  641. /*
  642. * Use MS HTML Help via libmspack (Unix)
  643. */
  644. #define wxUSE_LIBMSPACK 1
  645. /*
  646. * Matthews garbage collection (used for MrEd?)
  647. */
  648. #define WXGARBAGE_COLLECTION_ON 1
  649. /*
  650. * wxWebKitCtrl
  651. */
  652. #define wxUSE_WEBKIT 1
  653. /*
  654. * Objective-C class name uniquifying
  655. */
  656. #define wxUSE_OBJC_UNIQUIFYING 0
  657. /*
  658. * The const keyword is being introduced more in wxWindows.
  659. * You can use this setting to maintain backward compatibility.
  660. * If 0: will use const wherever possible.
  661. * If 1: will use const only where necessary
  662. * for precompiled headers to work.
  663. * If 2: will be totally backward compatible, but precompiled
  664. * headers may not work and program size will be larger.
  665. */
  666. #define CONST_COMPATIBILITY 0
  667. /*
  668. * use the session manager to detect KDE/GNOME
  669. */
  670. #define wxUSE_DETECT_SM 0
  671. /* define with the name of timezone variable */
  672. #undef WX_TIMEZONE
  673. /* The type of 3rd argument to getsockname() - usually size_t or int */
  674. #define WX_SOCKLEN_T size_t
  675. /* The type of 5th argument to getsockopt() - usually size_t or int */
  676. #define SOCKOPTLEN_T size_t
  677. /* The type of statvfs(2) argument */
  678. #undef WX_STATFS_T
  679. /* The signal handler prototype */
  680. #define wxTYPE_SA_HANDLER int
  681. /* gettimeofday() usually takes 2 arguments, but some really old systems might
  682. * have only one, in which case define WX_GETTIMEOFDAY_NO_TZ */
  683. #undef WX_GETTIMEOFDAY_NO_TZ
  684. /* struct tm doesn't always have the tm_gmtoff field, define this if it does */
  685. #define WX_GMTOFF_IN_TM
  686. /* Define if you have poll(2) function */
  687. #define HAVE_POLL 1
  688. /* Define if you have pw_gecos field in struct passwd */
  689. #undef HAVE_PW_GECOS
  690. /* Define if you have __cxa_demangle() in <cxxabi.h> */
  691. #undef HAVE_CXA_DEMANGLE
  692. /* Define if you have dlopen() */
  693. #define HAVE_DLOPEN 1
  694. /* Define if you have gettimeofday() */
  695. #define HAVE_GETTIMEOFDAY
  696. /* Define if fsync() is available */
  697. #define HAVE_FSYNC 1
  698. /* Define if round() is available */
  699. /* #undef HAVE_ROUND */
  700. /* Define if you have ftime() */
  701. #define HAVE_FTIME
  702. /* Define if you have nanosleep() */
  703. #if __CRTL_VER >= 70320000
  704. #define HAVE_NANOSLEEP 1
  705. #else
  706. #undef HAVE_NANOSLEEP
  707. #endif
  708. /* Define if you have sched_yield */
  709. #define HAVE_SCHED_YIELD 1
  710. /* Define if you have pthread_mutexattr_t and functions to work with it */
  711. #define HAVE_PTHREAD_MUTEXATTR_T 1
  712. /* Define if you have pthread_mutexattr_settype() declaration */
  713. #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
  714. /* Define if you have PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP */
  715. #undef HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER
  716. /* Define if you have pthread_cancel */
  717. #define HAVE_PTHREAD_CANCEL 1
  718. /* Define if you have pthread_mutex_timedlock */
  719. #undef HAVE_PTHREAD_MUTEX_TIMEDLOCK
  720. /* Define if you have pthread_attr_setstacksize */
  721. #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
  722. /* Define if you have the putenv function. */
  723. #define HAVE_PUTENV 1
  724. /* Define if you have the setenv function. */
  725. # if __CRTL_VER >= 70000000
  726. #define HAVE_SETENV 1
  727. #define HAVE_UNSETENV 1
  728. #else
  729. #undef HAVE_SETENV
  730. #endif
  731. /* Define if you have shl_load() */
  732. #undef HAVE_SHL_LOAD
  733. #if __CRTL_VER >= 70312000
  734. /* Define if you have snprintf() */
  735. #define HAVE_SNPRINTF 1
  736. /* Define if you have snprintf() declaration in the header */
  737. #define HAVE_SNPRINTF_DECL 1
  738. #else
  739. /* Define if you have snprintf() */
  740. #undef HAVE_SNPRINTF
  741. /* Define if you have snprintf() declaration in the header */
  742. #undef HAVE_SNPRINTF_DECL
  743. #endif
  744. /* Define if you have a snprintf() which supports positional arguments
  745. (defined in the unix98 standard) */
  746. #undef HAVE_UNIX98_PRINTF
  747. /* define if you have statfs function */
  748. #undef HAVE_STATFS
  749. /* define if you have statfs prototype */
  750. #undef HAVE_STATFS_DECL
  751. /* define if you have statvfs function */
  752. #undef HAVE_STATVFS
  753. /* Define if you have strtoull() and strtoll() */
  754. #define HAVE_STRTOULL 1
  755. /* Define if you have all functions to set thread priority */
  756. #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
  757. #if __CRTL_VER >= 70312000
  758. /* Define if you have vsnprintf() */
  759. #define HAVE_VSNPRINTF 1
  760. /* Define if you have vsnprintf() declaration in the header */
  761. #define HAVE_VSNPRINTF_DECL 1
  762. #else
  763. /* Define if you have vsnprintf() */
  764. #undef HAVE_VSNPRINTF
  765. /* Define if you have vsnprintf() declaration in the header */
  766. #undef HAVE_VSNPRINTF_DECL
  767. #endif
  768. /* Define if you have a _broken_ vsnprintf() declaration in the header,
  769. * with 'char*' for the 3rd parameter instead of 'const char*' */
  770. #undef HAVE_BROKEN_VSNPRINTF_DECL
  771. /* Define if you have a _broken_ vsscanf() declaration in the header,
  772. * with 'char*' for the 1st parameter instead of 'const char*' */
  773. #undef HAVE_BROKEN_VSSCANF_DECL
  774. /* Define if you have vsscanf() */
  775. #define HAVE_VSSCANF 1
  776. /* Define if you have vsscanf() declaration in the header */
  777. #define HAVE_VSSCANF_DECL 1
  778. /* Define if you have usleep() */
  779. #define HAVE_USLEEP 1
  780. /* Define if you have wcscasecmp() function */
  781. #undef HAVE_WCSCASECMP
  782. /* Define if you have wcsncasecmp() function */
  783. #undef HAVE_WCSNCASECMP
  784. /* Define if you have wcslen function */
  785. #define HAVE_WCSLEN 1
  786. /* Define if you have wcsdup function */
  787. #undef HAVE_WCSDUP
  788. /* Define if you have wcsftime() function */
  789. #define HAVE_WCSFTIME 1
  790. /* Define if you have strnlen() function */
  791. #define HAVE_STRNLEN 1
  792. /* Define if you have wcsnlen() function */
  793. #undef HAVE_WCSNLEN
  794. /* Define if you have wcstoull() and wcstoll() */
  795. #undef HAVE_WCSTOULL
  796. /* The number of bytes in a wchar_t. */
  797. #define SIZEOF_WCHAR_T 4
  798. /* The number of bytes in a int. */
  799. #define SIZEOF_INT 4
  800. /* The number of bytes in a pointer. */
  801. #define SIZEOF_VOID_P 4
  802. /* The number of bytes in a long. */
  803. #define SIZEOF_LONG 4
  804. /* The number of bytes in a long long. */
  805. #define SIZEOF_LONG_LONG 8
  806. /* The number of bytes in a short. */
  807. #define SIZEOF_SHORT 2
  808. /* The number of bytes in a size_t. */
  809. #define SIZEOF_SIZE_T 4
  810. /* Define if size_t on your machine is the same type as unsigned int. */
  811. #define wxSIZE_T_IS_UINT 1
  812. /* Define if size_t on your machine is the same type as unsigned long. */
  813. #undef wxSIZE_T_IS_ULONG
  814. /* Define if wchar_t is distinct type in your compiler. */
  815. #define wxWCHAR_T_IS_REAL_TYPE 1
  816. /* Define if you have the dlerror function. */
  817. #define HAVE_DLERROR 1
  818. /* Define if you have Posix fnctl() function. */
  819. #define HAVE_FCNTL 1
  820. /* Define if you have BSD flock() function. */
  821. #undef HAVE_FLOCK
  822. /* Define if you have getaddrinfo function. */
  823. #define HAVE_GETADDRINFO 1
  824. /* Define if you have a gethostbyname_r function taking 6 arguments. */
  825. #undef HAVE_FUNC_GETHOSTBYNAME_R_6
  826. /* Define if you have a gethostbyname_r function taking 5 arguments. */
  827. #undef HAVE_FUNC_GETHOSTBYNAME_R_5
  828. /* Define if you have a gethostbyname_r function taking 3 arguments. */
  829. #undef HAVE_FUNC_GETHOSTBYNAME_R_3
  830. /* Define if you only have a gethostbyname function */
  831. #define HAVE_GETHOSTBYNAME 1
  832. /* Define if you have the gethostname function. */
  833. #define HAVE_GETHOSTNAME 1
  834. /* Define if you have a getservbyname_r function taking 6 arguments. */
  835. #undef HAVE_FUNC_GETSERVBYNAME_R_6
  836. /* Define if you have a getservbyname_r function taking 5 arguments. */
  837. #undef HAVE_FUNC_GETSERVBYNAME_R_5
  838. /* Define if you have a getservbyname_r function taking 4 arguments. */
  839. #undef HAVE_FUNC_GETSERVBYNAME_R_4
  840. /* Define if you only have a getservbyname function */
  841. #define HAVE_GETSERVBYNAME 1
  842. /* Define if you have the gmtime_r function. */
  843. #if __CRTL_VER >= 70000000 && \
  844. (defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE)
  845. #define HAVE_GMTIME_R 1
  846. #else
  847. #undef HAVE_GMTIME_R
  848. #endif
  849. /* Define if you have the inet_addr function. */
  850. #define HAVE_INET_ADDR 1
  851. /* Define if you have the inet_aton function. */
  852. #define HAVE_INET_ATON 1
  853. /* Define if you have the localtime_r function. */
  854. #if __CRTL_VER >= 70000000 && \
  855. (defined _POSIX_C_SOURCE || !defined _ANSI_C_SOURCE)
  856. #define HAVE_LOCALTIME_R 1
  857. #else
  858. #undef HAVE_LOCALTIME_R
  859. #endif
  860. /* Define if you have the mktemp function. */
  861. #define HAVE_MKTEMP 1
  862. /* Define if you have the mkstemp function. */
  863. #define HAVE_MKSTEMP 1
  864. /* Define if you have strtok_r function. */
  865. # if __CRTL_VER >= 70301000
  866. #define HAVE_STRTOK_R 1
  867. #else
  868. #undef HAVE_STRTOK_R
  869. #endif
  870. /* Define if you have thr_setconcurrency function */
  871. #undef HAVE_THR_SETCONCURRENCY
  872. /* Define if you have pthread_setconcurrency function */
  873. #define HAVE_PTHREAD_SET_CONCURRENCY 1
  874. /* Define if you have the uname function. */
  875. #define HAVE_UNAME 1
  876. /* Define if you have the usleep function. */
  877. #define HAVE_USLEEP 1
  878. /* Define if you have the <X11/XKBlib.h> header file. */
  879. #if __CRTL_VER >= 80200000
  880. #define HAVE_X11_XKBLIB_H 1
  881. #else
  882. #undef HAVE_X11_XKBLIB_H
  883. #endif
  884. /* Define if you have the <sched.h> header file. */
  885. #undef HAVE_SCHED_H
  886. /* Define if you have the <unistd.h> header file. */
  887. #define HAVE_UNISTD_H 1
  888. /* Define if you have the <fcntl.h> header file. */
  889. #define HAVE_FCNTL_H 1
  890. /* Define if you have the <wchar.h> header file. */
  891. #define HAVE_WCHAR_H 1
  892. /* Define if you have the <wcstr.h> header file. */
  893. #undef HAVE_WCSTR_H
  894. /* Define if you have the <wctype.h> header file. */
  895. #if __CRTL_VER >= 70312000
  896. #define HAVE_WCTYPE_H 1
  897. #else
  898. #undef HAVE_WCTYPE_H
  899. #endif
  900. /* Define if you have <widec.h> (Solaris only) */
  901. #undef HAVE_WIDEC_H
  902. /* Define if you have the <iconv.h> header file and iconv() symbol. */
  903. #define HAVE_ICONV_H 1
  904. /* Define as "const" if the declaration of iconv() needs const. */
  905. #undef ICONV_CONST
  906. /* Define if you have the <langinfo.h> header file. */
  907. #define HAVE_LANGINFO_H 1
  908. /* Define if you have the <w32api.h> header file (mingw,cygwin). */
  909. #undef HAVE_W32API_H
  910. /* Define if you have the <esd.h> header file. */
  911. /* #undef HAVE_ESD_H */
  912. /* Define if you have the <sys/soundcard.h> header file. */
  913. /* #undef HAVE_SYS_SOUNDCARD_H */
  914. /* Define if you have wcsrtombs() function */
  915. #define HAVE_WCSRTOMBS 1
  916. /* Define this if you have putws() */
  917. #undef HAVE_PUTWS
  918. /* Define this if you have fputws() */
  919. #define HAVE_FPUTWS 1
  920. /* Define this if you have wprintf() and related functions */
  921. #define HAVE_WPRINTF 1
  922. /* Define this if you have vswprintf() and related functions */
  923. #define HAVE_VSWPRINTF 1
  924. /* Define this if you have _vsnwprintf */
  925. #undef HAVE__VSNWPRINTF
  926. /* Define this if you are using gtk and gdk contains support for X11R6 XIM */
  927. #undef HAVE_XIM
  928. /* Define if fseeko and ftello are available. */
  929. #define HAVE_FSEEKO 1
  930. /* Define this is you have X11/extensions/shape.h */
  931. #define HAVE_XSHAPE 1
  932. /* Define this if you have type SPBCDATA */
  933. #undef HAVE_SPBCDATA
  934. /* Define if you have pango_font_family_is_monospace() (Pango >= 1.3.3) */
  935. #undef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE
  936. /* Define if you have Pango xft support */
  937. #undef HAVE_PANGO_XFT
  938. /* Define if you have abi::__forced_unwind in your <cxxabi.h>. */
  939. #undef HAVE_ABI_FORCEDUNWIND
  940. /* Define if fdopen is available. */
  941. #define HAVE_FDOPEN 1
  942. /* Define if sysconf is available. */
  943. #define HAVE_SYSCONF 1
  944. /* Define if getpwuid_r is available. */
  945. #undef HAVE_GETPWUID_R
  946. /* Define if getgrgid_r is available. */
  947. #undef HAVE_GETGRGID_R
  948. /* Define if setpriority() is available. */
  949. #undef HAVE_SETPRIORITY
  950. /* Define if locale_t is available */
  951. #undef HAVE_LOCALE_T
  952. /* Define if you have inotify_xxx() functions. */
  953. #undef wxHAS_INOTIFY
  954. /* Define if you have kqueu_xxx() functions. */
  955. #undef wxHAS_KQUEUE
  956. /* ---------------------------------------------------------------------
  957. Win32 adjustments section
  958. ---------------------------------------------------------------------
  959. */
  960. #ifdef __WIN32__
  961. #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
  962. /* Define if the header pbt.h is missing. */
  963. #undef NEED_PBT_H
  964. #endif /* __WIN32__ */
  965. /* --------------------------------------------------------*
  966. * This stuff is static, it doesn't get modified directly
  967. * by configure.
  968. */
  969. /*
  970. define some constants identifying wxWindows version in more details t
  971. just the version number
  972. */
  973. /* wxLogChain class available */
  974. #define wxHAS_LOG_CHAIN 1
  975. /* define this when wxDC::Blit() respects SetDeviceOrigin() in wxGTK */
  976. #define wxHAS_WORKING_GTK_DC_BLIT 1
  977. #undef HAVE_SYS_SELECT_H
  978. #if defined( __WXGTK__ ) && !defined( VMS_GTK2 )
  979. #define wxHAS_RAW_BITMAP 1
  980. #endif
  981. #ifdef VMS_GTK2
  982. #define GSEAL(x) x
  983. #endif
  984. #define __VMS_BROKEN_TEMPLATES
  985. #include <stdlib.h>
  986. #endif /* __WX_SETUP_H__ */