diff options
Diffstat (limited to 'include/threadengines')
-rw-r--r-- | include/threadengines/threadengine_pthread.h | 6 | ||||
-rw-r--r-- | include/threadengines/threadengine_win32.h | 6 |
2 files changed, 2 insertions, 10 deletions
diff --git a/include/threadengines/threadengine_pthread.h b/include/threadengines/threadengine_pthread.h index 5168ed238..253e8d223 100644 --- a/include/threadengines/threadengine_pthread.h +++ b/include/threadengines/threadengine_pthread.h @@ -18,8 +18,7 @@ */ -#ifndef THREADENGINE_PTHREAD_H -#define THREADENGINE_PTHREAD_H +#pragma once #include <pthread.h> #include "typedefs.h" @@ -153,6 +152,3 @@ class ThreadSignalData public: ThreadSignalSocket* sock; }; - - -#endif diff --git a/include/threadengines/threadengine_win32.h b/include/threadengines/threadengine_win32.h index 2fdcac565..59848bd44 100644 --- a/include/threadengines/threadengine_win32.h +++ b/include/threadengines/threadengine_win32.h @@ -18,8 +18,7 @@ */ -#ifndef THREADENGINE_WIN32_H -#define THREADENGINE_WIN32_H +#pragma once #include "config.h" #include "base.h" @@ -152,6 +151,3 @@ class ThreadSignalData connFD = -1; } }; - -#endif - |