summaryrefslogtreecommitdiff
path: root/include/raid.h
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-12-16 16:16:28 +0300
committerkonstantin@mysql.com <>2004-12-16 16:16:28 +0300
commitba69a5b7e8e40f2fbedef88f18d4139887770fb6 (patch)
treec33ac0fd3ffccc3d018d7188dd144a17fd01ebce /include/raid.h
parent9c60cd3818117d6aa9d64948838a5ae8dbfa6a3f (diff)
downloadmariadb-git-ba69a5b7e8e40f2fbedef88f18d4139887770fb6.tar.gz
Making 4.1 tree compile with -ansi -pedantic
Diffstat (limited to 'include/raid.h')
-rw-r--r--include/raid.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/include/raid.h b/include/raid.h
index b5a5e665824..04c54393e54 100644
--- a/include/raid.h
+++ b/include/raid.h
@@ -32,9 +32,6 @@ C_MODE_END
#endif
#if defined(USE_RAID)
-#ifdef __GNUC__
-#pragma interface /* gcc class implementation */
-#endif
#include "my_dir.h"
/* Trap all occurences of my_...() in source and use our wrapper around this function */
@@ -92,6 +89,10 @@ extern "C" {
#ifdef __cplusplus
}
+#ifdef __GNUC__
+#pragma interface /* gcc class implementation */
+#endif
+
class RaidName {
public:
RaidName(const char *FileName);