]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/dynarray.h
compilation fix for cygwin
[wxWidgets.git] / include / wx / dynarray.h
index f0e511682056f97afb3f76dea30559e5f9314713..f3dfbd09d39f083970b9d13bc3fa01a8e2c3e811 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef   _DYNARRAY_H
 #define   _DYNARRAY_H
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "dynarray.h"
 #endif
 
@@ -119,7 +119,7 @@ private:                                                            \
           m_nCount;                                                 \
                                                                     \
   T      *m_pItems;                                                 \
-};
+}
 
 // ============================================================================
 // The private helper macros containing the core of the array classes