diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-12-16 10:43:02 +0100 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2009-12-16 10:43:02 +0100 |
commit | d00c7a2d5fb7c8cd94437e9b6169b29b380105bf (patch) | |
tree | d5ced91c5c9e87fc384dd41000df21a21c443858 /include/my_no_pthread.h | |
parent | 8e19b78124f6820637bb408109269ad325dbabc9 (diff) | |
parent | 78c61d6b836acc87690243f4fdc522aff40b18d2 (diff) | |
download | mariadb-git-d00c7a2d5fb7c8cd94437e9b6169b29b380105bf.tar.gz |
merge from trunk
Diffstat (limited to 'include/my_no_pthread.h')
-rw-r--r-- | include/my_no_pthread.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/my_no_pthread.h b/include/my_no_pthread.h index b11dbff42f0..31c1bf2b6ac 100644 --- a/include/my_no_pthread.h +++ b/include/my_no_pthread.h @@ -1,3 +1,6 @@ +#ifndef MY_NO_PTHREAD_INCLUDED +#define MY_NO_PTHREAD_INCLUDED + /* Copyright (C) 2000 MySQL AB This program is free software; you can redistribute it and/or modify @@ -14,9 +17,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -#if !defined(_my_no_pthread_h) && !defined(THREAD) -#define _my_no_pthread_h - +#ifndef THREAD /* This block is to access some thread-related type definitions @@ -48,3 +49,4 @@ #define rwlock_destroy(A) #endif +#endif /* MY_NO_PTHREAD_INCLUDED */ |