summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/hash_filo.h2
-rw-r--r--sql/sp_cache.cc2
-rw-r--r--sql/sp_cache.h2
-rw-r--r--sql/sp_head.cc2
-rw-r--r--sql/sp_head.h2
-rw-r--r--sql/sp_pcontext.cc2
-rw-r--r--sql/sp_pcontext.h2
-rw-r--r--sql/sp_rcontext.cc2
-rw-r--r--sql/sp_rcontext.h2
9 files changed, 9 insertions, 9 deletions
diff --git a/sql/hash_filo.h b/sql/hash_filo.h
index d1672e1a60c..fc48c3b1540 100644
--- a/sql/hash_filo.h
+++ b/sql/hash_filo.h
@@ -23,7 +23,7 @@
#ifndef HASH_FILO_H
#define HASH_FILO_H
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class interface */
#endif
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc
index 056ac6d7e96..83811e76f9b 100644
--- a/sql/sp_cache.cc
+++ b/sql/sp_cache.cc
@@ -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_IMPLEMENTATION
#pragma implementation
#endif
diff --git a/sql/sp_cache.h b/sql/sp_cache.h
index 754a987090e..e9efe5b2a8c 100644
--- a/sql/sp_cache.h
+++ b/sql/sp_cache.h
@@ -18,7 +18,7 @@
#ifndef _SP_CACHE_H_
#define _SP_CACHE_H_
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 988345694b2..cac7a64beea 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -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_IMPLEMENTATION
#pragma implementation
#endif
diff --git a/sql/sp_head.h b/sql/sp_head.h
index ee41b1efc83..955007d1ea4 100644
--- a/sql/sp_head.h
+++ b/sql/sp_head.h
@@ -18,7 +18,7 @@
#ifndef _SP_HEAD_H_
#define _SP_HEAD_H_
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif
diff --git a/sql/sp_pcontext.cc b/sql/sp_pcontext.cc
index 26f576233f3..f95a43eb903 100644
--- a/sql/sp_pcontext.cc
+++ b/sql/sp_pcontext.cc
@@ -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_IMPLEMENTATION
#pragma implementation
#endif
diff --git a/sql/sp_pcontext.h b/sql/sp_pcontext.h
index 749b99dcf14..0d218bc0538 100644
--- a/sql/sp_pcontext.h
+++ b/sql/sp_pcontext.h
@@ -18,7 +18,7 @@
#ifndef _SP_PCONTEXT_H_
#define _SP_PCONTEXT_H_
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif
diff --git a/sql/sp_rcontext.cc b/sql/sp_rcontext.cc
index 49ead5d1585..2e79a1e2533 100644
--- a/sql/sp_rcontext.cc
+++ b/sql/sp_rcontext.cc
@@ -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_IMPLEMENTATION
#pragma implementation
#endif
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index 417c50d0f0f..ba5fa950dc3 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -18,7 +18,7 @@
#ifndef _SP_RCONTEXT_H_
#define _SP_RCONTEXT_H_
-#ifdef __GNUC__
+#ifdef USE_PRAGMA_INTERFACE
#pragma interface /* gcc class implementation */
#endif