summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorunknown <kent@mysql.com/kent-amd64.(none)>2007-07-23 23:54:55 +0200
committerunknown <kent@mysql.com/kent-amd64.(none)>2007-07-23 23:54:55 +0200
commit54cebc4764260bf06c334e9644110fd5e369470f (patch)
tree62f5f058036f8b56ecfde5e8b3e2cccd48b8fd1e /include/my_global.h
parentce203858e907a2f69de0e96fd5b40dc3935985e8 (diff)
downloadmariadb-git-54cebc4764260bf06c334e9644110fd5e369470f.tar.gz
Many files:
Put back old code to check stack direction at configure time config/ac-macros/misc.m4: Put back old code to check stack direction at configure time configure.in: Put back old code to check stack direction at configure time include/config-netware.h: Put back old code to check stack direction at configure time include/config-win.h: Put back old code to check stack direction at configure time include/my_global.h: Put back old code to check stack direction at configure time sql/sql_parse.cc: Put back old code to check stack direction at configure time
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 91860f6e7a9..8b6cdef8daa 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -804,6 +804,10 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define ulong_to_double(X) ((double) (ulong) (X))
#define SET_STACK_SIZE(X) /* Not needed on real machines */
+#ifndef STACK_DIRECTION
+#error "please add -DSTACK_DIRECTION=1 or -1 to your CPPFLAGS"
+#endif
+
#if !defined(HAVE_STRTOK_R)
#define strtok_r(A,B,C) strtok((A),(B))
#endif