diff options
author | monty@donna.mysql.com <> | 2000-12-16 02:28:39 +0200 |
---|---|---|
committer | monty@donna.mysql.com <> | 2000-12-16 02:28:39 +0200 |
commit | 2803bcd8bea2ee889436a6109d0e7600ece08799 (patch) | |
tree | 554ec572ad0562449c530cb3f3e3050908f592ce | |
parent | 2e83820b0fa8390bafcc1058dd7ff1ba22c6d5b2 (diff) | |
download | mariadb-git-2803bcd8bea2ee889436a6109d0e7600ece08799.tar.gz |
Fixed missing long option
Portability fix for Linux
-rw-r--r-- | include/global.h | 2 | ||||
-rwxr-xr-x | mysql-test/mysql-test-run.sh | 2 |
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 |