close_code.h: #error if included without matching begin_code.h SDL-1.2
authorOzkan Sezer <sezeroz@gmail.com>
Tue, 06 Nov 2018 23:45:04 +0300
branchSDL-1.2
changeset 12398ebc235657ba4
parent 12337 169a5b55f240
child 12409 67aeabf947b2
close_code.h: #error if included without matching begin_code.h
include/close_code.h
     1.1 --- a/include/close_code.h	Thu Oct 18 12:12:00 2018 +0300
     1.2 +++ b/include/close_code.h	Tue Nov 06 23:45:04 2018 +0300
     1.3 @@ -26,12 +26,12 @@
     1.4   *  after you finish any function and structure declarations in your headers
     1.5   */
     1.6  
     1.7 +#ifndef _begin_code_h
     1.8 +#error close_code.h included without matching begin_code.h
     1.9 +#endif
    1.10  #undef _begin_code_h
    1.11  
    1.12 -/**
    1.13 - *  @file close_code.h
    1.14 - *  Reset structure packing at previous byte alignment
    1.15 - */
    1.16 +/* Reset structure packing at previous byte alignment */
    1.17  #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)
    1.18  #ifdef __BORLANDC__
    1.19  #pragma nopackwarning