]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mgl/dcmemory.h
avoid a bug in Carbon headers
[wxWidgets.git] / include / wx / mgl / dcmemory.h
index 4e005bb1842e6f043d65d9306caa52ceaf072fa1..96ad1a3c1ccc3a18d28703b3f80ae7e1fc1b9b5e 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:
 // Author:      Vaclav Slavik
 // RCS-ID:      $Id$
-// Copyright:   (c) 2001 SciTech Software, Inc. (www.scitechsoft.com)
+// Copyright:   (c) 2001-2002 SciTech Software, Inc. (www.scitechsoft.com)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
@@ -11,7 +11,7 @@
 #ifndef __WX_DCMEMORY_H__
 #define __WX_DCMEMORY_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma interface "dcmemory.h"
 #endif