Skip to content
Permalink
Browse files

close_code.h: #error if included without matching begin_code.h

  • Loading branch information
sezero committed Nov 6, 2018
1 parent bacaaa3 commit 326fbb397c6e36f5465556b146892aaac396cddb
Showing with 4 additions and 4 deletions.
  1. +4 −4 include/close_code.h
@@ -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

0 comments on commit 326fbb3

Please sign in to comment.