summaryrefslogtreecommitdiff
path: root/sql/protocol.h
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-05-04 15:05:56 +0200
committermsvensson@neptunus.(none) <>2005-05-04 15:05:56 +0200
commit5b5565c30a8678ab69b1089aef3c05c8bba29d08 (patch)
tree45a0083b6a397ee71a8d3487db6eab6e3dd7dd9e /sql/protocol.h
parent8e87db93183b1a4787d7cd0fdd89f1a8179bed68 (diff)
downloadmariadb-git-5b5565c30a8678ab69b1089aef3c05c8bba29d08.tar.gz
BUG#10241 cygwin port: invalid pragma interface directives
- Introduce ifdefs so we can control when to use #pragma interface on cygwin
Diffstat (limited to 'sql/protocol.h')
-rw-r--r--sql/protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/protocol.h b/sql/protocol.h
index a3b6da55da3..32d6acccddf 100644
--- a/sql/protocol.h
+++ b/sql/protocol.h
@@ -14,7 +14,7 @@
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif