Committing in .
Updates for OpenVMS in utilsunx.cpp : OpenVMS does not have fork. So I use vfork there although the source warns me that it may be broken on some systems. Modified Files: wxWindows/setup.h_vms wxWindows/src/unix/utilsunx.cpp ---------------------------------------------------------------------- git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@17011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
4ea97290b8
commit
b2ddee86fe
31
setup.h_vms
31
setup.h_vms
@ -35,6 +35,9 @@
|
||||
/* the installation location prefix from configure */
|
||||
#undef wxINSTALL_PREFIX
|
||||
|
||||
/* Define this to get extra features from GNU libc. */
|
||||
#undef _GNU_SOURCE
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#undef gid_t
|
||||
|
||||
@ -926,12 +929,6 @@
|
||||
/* Define if you have support for large (64 bit size) files */
|
||||
#undef HAVE_LARGEFILE_SUPPORT
|
||||
|
||||
/* Required by HAVE_LARGEFILE_SUPPORT on some systems */
|
||||
#undef _FILE_OFFSET_BITS
|
||||
|
||||
/* Ditto */
|
||||
#undef _LARGE_FILES
|
||||
|
||||
/* Define if you have localtime() */
|
||||
#define HAVE_LOCALTIME
|
||||
|
||||
@ -1124,9 +1121,31 @@
|
||||
/* Define if you have wcsrtombs() function */
|
||||
#define HAVE_WCSRTOMBS 1
|
||||
|
||||
/* Define this if you have fputws() and putwc() */
|
||||
#define HAVE_FPUTWC 1
|
||||
|
||||
/* Define this if you have wprintf() and related functions */
|
||||
#define HAVE_WPRINTF 1
|
||||
|
||||
/* Define this if you have vswprintf() and related functions */
|
||||
#define HAVE_VSWPRINTF 1
|
||||
|
||||
/* Define this if you are using gtk and gdk contains support for X11R6 XIM */
|
||||
#undef HAVE_XIM
|
||||
|
||||
/* ---------------------------------------------------------------------
|
||||
Win32 adjustments section
|
||||
---------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
#ifdef __WIN32__
|
||||
|
||||
/* we need to define wxUSE_XPM_IN_MSW for MSW compilation for compatibil
|
||||
with wx/msw/setup.h */
|
||||
#define wxUSE_XPM_IN_MSW wxUSE_XPM
|
||||
|
||||
#endif /* __WIN32__ */
|
||||
|
||||
/* --------------------------------------------------------*
|
||||
* This stuff is static, it doesn't get modified directly
|
||||
* by configure.
|
||||
|
@ -566,7 +566,13 @@ long wxExecute(wxChar **argv,
|
||||
//
|
||||
// NB: do *not* use vfork() here, it completely breaks this code for some
|
||||
// reason under Solaris (and maybe others, although not under Linux)
|
||||
// But on OpenVMS we do not have fork so we have to use vfork and
|
||||
// cross our fingers that it works.
|
||||
#ifdef __VMS
|
||||
pid_t pid = vfork();
|
||||
#else
|
||||
pid_t pid = fork();
|
||||
#endif
|
||||
if ( pid == -1 ) // error?
|
||||
{
|
||||
wxLogSysError( _("Fork failed") );
|
||||
|
Loading…
Reference in New Issue
Block a user