# HG changeset patch # User Ozkan Sezer # Date 1541537104 -10800 # Node ID ebc235657ba4bfc0cf605ded683e8fc4f9a53bf0 # Parent 169a5b55f240ce14ead049e61590e5658a79d106 close_code.h: #error if included without matching begin_code.h diff -r 169a5b55f240 -r ebc235657ba4 include/close_code.h --- a/include/close_code.h Thu Oct 18 12:12:00 2018 +0300 +++ b/include/close_code.h Tue Nov 06 23:45:04 2018 +0300 @@ -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