summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonty@donna.mysql.com <>2000-12-16 02:28:39 +0200
committermonty@donna.mysql.com <>2000-12-16 02:28:39 +0200
commit2803bcd8bea2ee889436a6109d0e7600ece08799 (patch)
tree554ec572ad0562449c530cb3f3e3050908f592ce
parent2e83820b0fa8390bafcc1058dd7ff1ba22c6d5b2 (diff)
downloadmariadb-git-2803bcd8bea2ee889436a6109d0e7600ece08799.tar.gz
Fixed missing long option
Portability fix for Linux
-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