summaryrefslogtreecommitdiff
path: root/src/mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mutex.h')
-rw-r--r--src/mutex.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mutex.h b/src/mutex.h
index 31a0026..a6a96e6 100644
--- a/src/mutex.h
+++ b/src/mutex.h
@@ -1,5 +1,4 @@
-#ifndef INCLUDE_MUTEX
-#define INCLUDE_MUTEX
+#pragma once
#if defined(_WIN32)
#define _CRT_SECURE_NO_WARNINGS
@@ -53,5 +52,3 @@ void ts_mutex_lock(ts_mutex *ts_mutex);
bool ts_mutex_trylock(ts_mutex *ts_mutex);
void ts_mutex_unlock(ts_mutex *ts_mutex);
void ts_mutex_destroy(ts_mutex *ts_mutex);
-
-#endif \ No newline at end of file