diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2009-04-01 09:55:02 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2009-04-01 09:55:02 +0200 |
commit | 63382f447a312b4d40ac1bcd8090b2cf2c626bf1 (patch) | |
tree | 04c00d645bc8f1d9ea96acdda5e30721cac0867d /include | |
parent | b05465136973cfd7031972ffa7e2571d509e4ccc (diff) | |
download | wolfbones-63382f447a312b4d40ac1bcd8090b2cf2c626bf1.tar.gz wolfbones-63382f447a312b4d40ac1bcd8090b2cf2c626bf1.tar.bz2 |
fixed WIN32_MEAN_AND_LEAN and some docu
Diffstat (limited to 'include')
-rw-r--r-- | include/wolf/service/service.h | 2 | ||||
-rw-r--r-- | include/wolf/threads/mutex.h | 2 | ||||
-rw-r--r-- | include/wolf/threads/threads.h | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/include/wolf/service/service.h b/include/wolf/service/service.h index 2585723..3f838ca 100644 --- a/include/wolf/service/service.h +++ b/include/wolf/service/service.h @@ -34,7 +34,7 @@ * @author Andreas Baumann <abaumann@yahoo.com> */ -#define WIND32_LEAN_AND_MEAN +#define WIN32_MEAN_AND_LEAN #include <windows.h> #include "errors.h" diff --git a/include/wolf/threads/mutex.h b/include/wolf/threads/mutex.h index 9cfc777..61a4205 100644 --- a/include/wolf/threads/mutex.h +++ b/include/wolf/threads/mutex.h @@ -65,7 +65,7 @@ static INLINE void wolf_mutex_unlock( wolf_mutex_t *mutex ) { #ifdef _WIN32 -#define WIND32_LEAN_AND_MEAN +#define WIN32_MEAN_AND_LEAN #include <windows.h> typedef CRITICAL_SECTION wolf_mutex_t; diff --git a/include/wolf/threads/threads.h b/include/wolf/threads/threads.h index 38449d3..73c5236 100644 --- a/include/wolf/threads/threads.h +++ b/include/wolf/threads/threads.h @@ -24,8 +24,8 @@ */ /** - * @file mutex.h - * @brief Portable mutexes for thread synchronization + * @file threads.h + * @brief Portable thread functions * @author Andreas Baumann <abaumann@yahoo.com> */ @@ -55,7 +55,7 @@ wolf_error_t wolf_thread_join( wolf_thread_t *thread ); #ifdef _WIN32 -#define WIND32_LEAN_AND_MEAN +#define WIN32_MEAN_AND_LEAN #include <windows.h> #define WOLF_THREAD_RETURN_DECL unsigned |