include: Fix symbols in public headers that start with an underscore.

Fixes #7352.
This commit is contained in:
Ryan C. Gordon
2023-02-20 11:35:30 -05:00
parent 7b06007266
commit e6e654e25c
2 changed files with 9 additions and 9 deletions

View File

@@ -26,10 +26,10 @@
* after you finish any function and structure declarations in your headers
*/
#ifndef _begin_code_h
#ifndef SDL_begin_code_h
#error close_code.h included without matching begin_code.h
#endif
#undef _begin_code_h
#undef SDL_begin_code_h
/* Reset structure packing at previous byte alignment */
#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__BORLANDC__)