summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authormsvensson@neptunus.(none) <>2005-05-27 12:03:37 +0200
committermsvensson@neptunus.(none) <>2005-05-27 12:03:37 +0200
commit34901082359dd2182343e0b155e172afb156a97f (patch)
tree907e986ca02d5e91d4f651bf269e7ca1479f526c /sql
parentaa99b05be799e34e1756425a124e2023e8909f39 (diff)
downloadmariadb-git-34901082359dd2182343e0b155e172afb156a97f.tar.gz
Add USE_PRAGMA_INTERFACE and USE_PRAGMA_IMPLEMENTATION to files not existsing in 4.1
Diffstat (limited to 'sql')
-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