summaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-05-26 12:09:14 +0200
committermsvensson@neptunus.(none) <>2005-05-26 12:09:14 +0200
commit83d430353ea7e95ad83807c7ba079a4eafbd2740 (patch)
tree4920b558234eccbf28718266bd9fae673ef3028f /client
parent0ed2e577318c5121ac3509ce16b829f37f02a8ed (diff)
downloadmariadb-git-83d430353ea7e95ad83807c7ba079a4eafbd2740.tar.gz
Add ifdefs to control when "#pragma implementation" should be used
Added some more ifdefs for "#pragma interface"
Diffstat (limited to 'client')
-rw-r--r--client/sql_string.cc2
-rw-r--r--client/sql_string.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/client/sql_string.cc b/client/sql_string.cc
index 9dcf19dad1d..690997152f1 100644
--- a/client/sql_string.cc
+++ b/client/sql_string.cc
@@ -16,7 +16,7 @@
/* This file is originally from the mysql distribution. Coded by monty */
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_IMPLEMENTATION
#pragma implementation // gcc: Class implementation
#endif
diff --git a/client/sql_string.h b/client/sql_string.h
index aec40466d2b..fd6d3ef59d9 100644
--- a/client/sql_string.h
+++ b/client/sql_string.h
@@ -16,7 +16,7 @@
/* This file is originally from the mysql distribution. Coded by monty */
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif