git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48861
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
are included
*/
#ifdef __MWERKS__
are included
*/
#ifdef __MWERKS__
+# include <stddef.h>
+#endif
+
+/*
+ This header must be included before anything else under VMS
+ */
+#ifdef __VMS
+# include <vms_jackets.h>
+# undef ConnectionNumber
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __VMS
-// vms_jackets.h should for proper working be included before anything else
-# include <vms_jackets.h>
-#undef ConnectionNumber
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
#if wxUSE_UNICODE
// gtk_init() wants UTF-8, not wchar_t, so convert
#if wxUSE_UNICODE
// gtk_init() wants UTF-8, not wchar_t, so convert
char **argvGTK = new char *[argc_ + 1];
for ( i = 0; i < argc_; i++ )
{
char **argvGTK = new char *[argc_ + 1];
for ( i = 0; i < argc_; i++ )
{
wxArrayString opt, desc;
m_traits->GetStandardCmdLineOptions(opt, desc);
wxArrayString opt, desc;
m_traits->GetStandardCmdLineOptions(opt, desc);
- for ( int i = 0; i < argc_; i++ )
+ for ( i = 0; i < argc_; i++ )
{
// leave just the names of the options with values
const wxString str = wxString(argv_[i]).BeforeFirst('=');
{
// leave just the names of the options with values
const wxString str = wxString(argv_[i]).BeforeFirst('=');
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __VMS
-// vms_jackets.h should for proper working be included before anything else
-# include <vms_jackets.h>
-#undef ConnectionNumber
-#endif
-
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"
// For compilers that support precompilation, includes "wx.h".
#include "wx/wxprec.h"