]> git.saurik.com Git - wxWidgets.git/commitdiff
Remove special setup_gccxml.h for GCCXML.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Apr 2012 19:51:20 +0000 (19:51 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 6 Apr 2012 19:51:20 +0000 (19:51 +0000)
This file doesn't seem to be needed and the open() declaration in it actually
results in errors when using the latest gccxml from cvs under Windows, so just
get rid of it entirely.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/chkconf.h
include/wx/platform.h
include/wx/setup_gccxml.h [deleted file]

index 4b069bebc808850128f4be9be87716c95ee68ee7..b1c741e43d02b2710b04b04adc9e07bb3a1d895a 100644 (file)
  */
 #if wxUSE_GUI
 
  */
 #if wxUSE_GUI
 
-#if wxUSE_ACCESSIBILITY && !defined(__WXMSW__) && !defined(__GCCXML__)
+#if wxUSE_ACCESSIBILITY && !defined(__WXMSW__)
 #   ifdef wxABORT_ON_CONFIG_ERROR
 #       error "wxUSE_ACCESSIBILITY is currently only supported under wxMSW"
 #   else
 #   ifdef wxABORT_ON_CONFIG_ERROR
 #       error "wxUSE_ACCESSIBILITY is currently only supported under wxMSW"
 #   else
index 50476b9e5f2b716ee4337d7b477533dd08417435..cdd8b9ce4844044f36cdb5c34605579e1f62f9d1 100644 (file)
  */
 #include "wx/setup.h"
 
  */
 #include "wx/setup.h"
 
-#ifdef __GCCXML__
-    /*
-        we're using gccxml to create an XML representation of the entire
-        wxWidgets interface; use a special setup_gccxml.h file to fix some
-        of the stuff #defined by the real setup.h
-    */
-    #include "wx/setup_gccxml.h"
-#endif
-
 /*
    Convenience for any optional classes that use the wxAnyButton base class.
  */
 /*
    Convenience for any optional classes that use the wxAnyButton base class.
  */
diff --git a/include/wx/setup_gccxml.h b/include/wx/setup_gccxml.h
deleted file mode 100644 (file)
index baa6cbd..0000000
+++ /dev/null
@@ -1,23 +0,0 @@
-///////////////////////////////////////////////////////////////////////////////
-// Name:        wx/setup_gccxml.h
-// Purpose:     setup.h settings for gccxml (see utils/ifacecheck)
-// Author:      Francesco Montorsi
-// Modified by:
-// RCS-ID:      $Id$
-// Copyright:   (c) Francesco Montorsi
-// Licence:     wxWindows licence
-///////////////////////////////////////////////////////////////////////////////
-
-/*
-    This file is included by wx/platform.h when gccxml is detected.
-
-    Here we fix some of the things declared in the real setup.h which gccxml doesn't
-    like.
-*/
-
-
-// gccxml 0.9.0 doesn't like the fcntl2.h which is part of GNU C library
-// (at least it doesn't on x86_64 systems!)
-#define _FCNTL_H
-int open (const char *__path, int __oflag, ...);
-