close_code.h 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. SDL - Simple DirectMedia Layer
  3. Copyright (C) 1997-2011 Sam Lantinga
  4. This library is free software; you can redistribute it and/or
  5. modify it under the terms of the GNU Lesser General Public
  6. License as published by the Free Software Foundation; either
  7. version 2.1 of the License, or (at your option) any later version.
  8. This library is distributed in the hope that it will be useful,
  9. but WITHOUT ANY WARRANTY; without even the implied warranty of
  10. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
  11. Lesser General Public License for more details.
  12. You should have received a copy of the GNU Lesser General Public
  13. License along with this library; if not, write to the Free Software
  14. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  15. Sam Lantinga
  16. [email protected]
  17. */
  18. /**
  19. * \file close_code.h
  20. *
  21. * This file reverses the effects of begin_code.h and should be included
  22. * after you finish any function and structure declarations in your headers
  23. */
  24. #undef _begin_code_h
  25. /* Reset structure packing at previous byte alignment */
  26. #if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__) || defined(__BORLANDC__)
  27. #ifdef __BORLANDC__
  28. #pragma nopackwarning
  29. #endif
  30. #pragma pack(pop)
  31. #endif /* Compiler needs structure packing set */