From: David Elliott Date: Mon, 28 Jul 2003 17:51:33 +0000 (+0000) Subject: pragma interface/implementation should not be used for __APPLE__ X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/830f7bc472f8ec071c778c1ca19bb3be32e1403a pragma interface/implementation should not be used for __APPLE__ git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/samples/validate/validate.cpp b/samples/validate/validate.cpp index 2348ebf269..c5a188234a 100644 --- a/samples/validate/validate.cpp +++ b/samples/validate/validate.cpp @@ -15,7 +15,7 @@ // from a text control. All validators transfer data, but not // all test validity, so don't be confused by the name. -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma implementation #endif // __GNUG__ diff --git a/samples/validate/validate.h b/samples/validate/validate.h index 3a4bd970e5..546cfb254f 100644 --- a/samples/validate/validate.h +++ b/samples/validate/validate.h @@ -9,7 +9,7 @@ // Licence: wxWindows license ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(__APPLE__) # pragma interface #endif