Skip to content

Commit

Permalink
close_code.h: #error if included without matching begin_code.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sezero committed Nov 6, 2018
1 parent bacaaa3 commit 326fbb3
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions include/close_code.h
Expand Up @@ -26,12 +26,12 @@
* 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

/**
* @file close_code.h
* Reset structure packing at previous byte alignment
*/
/* Reset structure packing at previous byte alignment */
#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
#ifdef __BORLANDC__
#pragma nopackwarning
Expand Down

0 comments on commit 326fbb3

Please sign in to comment.