summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/global.h2
-rwxr-xr-xmysql-test/mysql-test-run.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/global.h b/include/global.h
index 98c092acba1..5975db9e2a6 100644
--- a/include/global.h
+++ b/include/global.h
@@ -56,7 +56,7 @@
#ifndef __STDC_EXT__
#define __STDC_EXT__ 1 /* To get large file support on hpux */
#endif
-#if defined(THREAD) && defined(HAVE_LINUXTHREADS) && defined(HAVE_PTHREAD_RWLOCK_RDLOCK)
+#if defined(HAVE_LINUXTHREADS)
#define _GNU_SOURCE 1
#endif
diff --git a/mysql-test/mysql-test-run.sh b/mysql-test/mysql-test-run.sh
index 6887eb5323c..de477f1420f 100755
--- a/mysql-test/mysql-test-run.sh
+++ b/mysql-test/mysql-test-run.sh
@@ -157,7 +157,7 @@ then
shift 1
fi
-if [ "$1" = "-gdb" ];
+if [ "$1" = "--gdb" ];
then
# if the user really wanted to run binary dist in a debugger, he can
# but we should warn him