aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/alsem.cpp (renamed from common/threads.cpp)5
-rw-r--r--common/alsem.h (renamed from common/threads.h)6
2 files changed, 6 insertions, 5 deletions
diff --git a/common/threads.cpp b/common/alsem.cpp
index c176f5af..6a92b35c 100644
--- a/common/threads.cpp
+++ b/common/alsem.cpp
@@ -20,11 +20,12 @@
#include "config.h"
-#include "opthelpers.h"
-#include "threads.h"
+#include "alsem.h"
#include <system_error>
+#include "opthelpers.h"
+
#ifdef _WIN32
#define WIN32_LEAN_AND_MEAN
diff --git a/common/threads.h b/common/alsem.h
index 703d50d4..9f72d1c6 100644
--- a/common/threads.h
+++ b/common/alsem.h
@@ -1,5 +1,5 @@
-#ifndef AL_THREADS_H
-#define AL_THREADS_H
+#ifndef COMMON_ALSEM_H
+#define COMMON_ALSEM_H
#if defined(__APPLE__)
#include <AvailabilityMacros.h>
@@ -40,4 +40,4 @@ public:
} // namespace al
-#endif /* AL_THREADS_H */
+#endif /* COMMON_ALSEM_H */