summaryrefslogtreecommitdiff
path: root/coroutine/win32
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-22 23:21:25 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2021-01-22 23:21:25 +0900
commitf1c36f2e6b0cd24dbcc9faf81a2ab88040eded2c (patch)
treee22aa16400373626cc0fce823657e1d00715bf80 /coroutine/win32
parentc3244a3574da8ddc35523ef1b882dd2aadfc2818 (diff)
downloadruby-f1c36f2e6b0cd24dbcc9faf81a2ab88040eded2c.tar.gz
Added include guards to coroutine headers
Diffstat (limited to 'coroutine/win32')
-rw-r--r--coroutine/win32/Context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/coroutine/win32/Context.h b/coroutine/win32/Context.h
index e20342a98d..dd12da6de8 100644
--- a/coroutine/win32/Context.h
+++ b/coroutine/win32/Context.h
@@ -1,3 +1,6 @@
+#ifndef COROUTINE_WIN32_CONTEXT_H
+#define COROUTINE_WIN32_CONTEXT_H 1
+
/*
* This file is part of the "Coroutine" project and released under the MIT License.
*
@@ -57,3 +60,5 @@ struct coroutine_context * __fastcall coroutine_transfer(struct coroutine_contex
static inline void coroutine_destroy(struct coroutine_context * context)
{
}
+
+#endif /* COROUTINE_WIN32_CONTEXT_H */