diff options
author | joerg@mysql.com <> | 2005-04-20 20:38:57 +0200 |
---|---|---|
committer | joerg@mysql.com <> | 2005-04-20 20:38:57 +0200 |
commit | eaa79cb45234f4a675919cb4565adac45601e971 (patch) | |
tree | b82b278a25646c3778f5067f40248a6aa21d3700 /mysys/thr_mutex.c | |
parent | 48ba5e495666fd5db051c1a1aa9d4d61a85f07c0 (diff) | |
download | mariadb-git-eaa79cb45234f4a675919cb4565adac45601e971.tar.gz |
Step 2 of the switch to support configuration with NPTL:
Define a new CPP symbol that the target OS is Linux, and use it where only the OS matters and not the threads Library.
Until now, 'HAVE_LINUXTHREADS' was used to indicate "Target is Linux" in many places.
When we support configuration with NPTL but no Linuxthreads, this misuse must cease.
Diffstat (limited to 'mysys/thr_mutex.c')
-rw-r--r-- | mysys/thr_mutex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/thr_mutex.c b/mysys/thr_mutex.c index bbcfaa8bba6..2facb4e18cf 100644 --- a/mysys/thr_mutex.c +++ b/mysys/thr_mutex.c @@ -17,7 +17,7 @@ /* This makes a wrapper for mutex handling to make it easier to debug mutex */ #include <my_global.h> -#if defined(HAVE_LINUXTHREADS) && !defined (__USE_UNIX98) +#if defined(TARGET_OS_LINUX) && !defined (__USE_UNIX98) #define __USE_UNIX98 /* To get rw locks under Linux */ #endif #if defined(THREAD) && defined(SAFE_MUTEX) |