diff options
Diffstat (limited to 'src/libjin/Thread/thread.h')
-rw-r--r-- | src/libjin/Thread/thread.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/libjin/Thread/thread.h b/src/libjin/Thread/thread.h index 3300b4f..3c41949 100644 --- a/src/libjin/Thread/thread.h +++ b/src/libjin/Thread/thread.h @@ -1,13 +1,13 @@ -#ifndef __JIN_THREAD_H -#define __JIN_THREAD_H +#ifndef __LIBJIN_THREAD_H +#define __LIBJIN_THREAD_H #include "../modules.h" -#if JIN_MODULES_THREAD +#if LIBJIN_MODULES_THREAD #include <string> #include <map> -#if JIN_THREAD_SDL +#if LIBJIN_THREAD_SDL # include "SDL2/SDL_thread.h" -#elif JIN_THREAD_CPP +#elif LIBJIN_THREAD_CPP # include <thread> # include <mutex> # include <condition_variable> @@ -116,9 +116,9 @@ namespace thread void unlock(); protected: - #if JIN_THREAD_SDL + #if LIBJIN_THREAD_SDL SDL_Thread* handle; // SDL thread - #elif JIN_THREAD_CPP + #elif LIBJIN_THREAD_CPP std::thread* handle; // cpp thread #endif Mutex* mutex; // mutex variable @@ -162,5 +162,5 @@ namespace thread } // thread } // jin -#endif // JIN_MODULES_THREAD -#endif // __JIN_THREAD_H
\ No newline at end of file +#endif // LIBJIN_MODULES_THREAD +#endif // __LIBJIN_THREAD_H
\ No newline at end of file |