diff --git a/samples/dialup/nettest.cpp b/samples/dialup/nettest.cpp index 99c05d6950..1816214cc8 100644 --- a/samples/dialup/nettest.cpp +++ b/samples/dialup/nettest.cpp @@ -17,7 +17,7 @@ // headers // ---------------------------------------------------------------------------- -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "nettest.cpp" #pragma interface "nettest.cpp" #endif