summaryrefslogtreecommitdiff
path: root/coroutine/Stack.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2021-01-22 23:21:25 +0900
committerNobuyoshi Nakada <[email protected]>2021-01-22 23:21:25 +0900
commitf1c36f2e6b0cd24dbcc9faf81a2ab88040eded2c (patch)
treee22aa16400373626cc0fce823657e1d00715bf80 /coroutine/Stack.h
parentc3244a3574da8ddc35523ef1b882dd2aadfc2818 (diff)
Added include guards to coroutine headers
Diffstat (limited to 'coroutine/Stack.h')
-rw-r--r--coroutine/Stack.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/coroutine/Stack.h b/coroutine/Stack.h
index f0fc703622..b3f57dcaaa 100644
--- a/coroutine/Stack.h
+++ b/coroutine/Stack.h
@@ -1,3 +1,6 @@
+#ifndef COROUTINE_STACK_H
+#define COROUTINE_STACK_H 1
+
/*
* This file is part of the "Coroutine" project and released under the MIT License.
*
@@ -14,3 +17,5 @@
#define COROUTINE_STACK_LOCAL(type, name) type name##_local; type * name = &name##_local
#define COROUTINE_STACK_FREE(name)
#endif
+
+#endif /* COROUTINE_STACK_H */