1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Added include guards to coroutine headers

This commit is contained in:
Nobuyoshi Nakada 2021-01-22 23:21:25 +09:00
parent c3244a3574
commit f1c36f2e6b
No known key found for this signature in database
GPG key ID: 7CD2805BFA3770C6
10 changed files with 50 additions and 0 deletions

View file

@ -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 */