From 0f6e63367e7e352f0b691286e90a3d1718bafe79 Mon Sep 17 00:00:00 2001
From: unknown <lenz@mysql.com>
Date: Thu, 25 Jul 2002 18:12:18 +0200
Subject: [PATCH] Added an "#ifdef _AIX" around the "#pragma #alloca" in
 include/my_sys.h since it is AIX specific only and compilers on other
 platforms issued warnings about it.

include/my_sys.h:
  "#pragma alloca" is for IBM AIX only
---
 include/my_sys.h | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/include/my_sys.h b/include/my_sys.h
index 0236f7007a..f310b3c381 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -164,8 +164,10 @@ extern my_string my_strdup(const char *from,myf MyFlags);
 #undef  alloca
 #define alloca(size)   __builtin_alloca (size)
 #else /* xlc */
+#ifdef _AIX
  #pragma alloca
-#endif /* GCC.  */
+#endif /* _AIX */
+#endif /* __GNUC__  */
 #define my_alloca(SZ) alloca((size_t) (SZ))
 #define my_afree(PTR) {}
 #else
-- 
2.30.9