From 2803bcd8bea2ee889436a6109d0e7600ece08799 Mon Sep 17 00:00:00 2001 From: "monty@donna.mysql.com" <> Date: Sat, 16 Dec 2000 02:28:39 +0200 Subject: [PATCH] Fixed missing long option Portability fix for Linux --- include/global.h | 2 +- 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