diff options
author | Ozkan Sezer <sezeroz@gmail.com> | 2018-11-06 23:45:50 +0300 |
---|---|---|
committer | Ozkan Sezer <sezeroz@gmail.com> | 2018-11-06 23:45:50 +0300 |
commit | 34b3c186abd6d603fea959d9e2c74e86e860ec2a (patch) | |
tree | 4c4fdb9d561de652f2389ba39cd0506a62517ecd /include | |
parent | 70cd2c88411e3804083f6b9dac4cc39ed702e9f9 (diff) |
close_code.h: #error if included without matching begin_code.h
Diffstat (limited to 'include')
-rw-r--r-- | include/close_code.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/close_code.h b/include/close_code.h index b3b70a4c83..f1fea37d16 100644 --- a/include/close_code.h +++ b/include/close_code.h @@ -26,6 +26,9 @@ * after you finish any function and structure declarations in your headers */ +#ifndef _begin_code_h +#error close_code.h included without matching begin_code.h +#endif #undef _begin_code_h /* Reset structure packing at previous byte alignment */ |