]> git.saurik.com Git - wxWidgets.git/commitdiff
Darwin compilation fix.
authorMattia Barbon <mbarbon@cpan.org>
Sun, 26 Oct 2003 17:55:04 +0000 (17:55 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Sun, 26 Oct 2003 17:55:04 +0000 (17:55 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/dialup/nettest.cpp

index 99c05d6950ba46f3818453a6479fbd00bce58acc..1816214cc8dcc7ebaaa604399389b3b8fec06b46 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "nettest.cpp"
     #pragma interface "nettest.cpp"
 #endif
     #pragma implementation "nettest.cpp"
     #pragma interface "nettest.cpp"
 #endif