irrunpack.h 642 B

123456789101112131415161718192021
  1. // Copyright (C) 2007-2012 Nikolaus Gebhardt
  2. // This file is part of the "Irrlicht Engine".
  3. // For conditions of distribution and use, see copyright notice in irrlicht.h
  4. // include this file to switch back to default alignment
  5. // file belongs to irrpack.h, see there for more info
  6. // Default alignment
  7. #if defined(_MSC_VER) || defined(__BORLANDC__) || defined (__BCPLUSPLUS__)
  8. # pragma pack( pop, packing )
  9. #elif defined (__DMC__)
  10. # pragma pack( pop )
  11. #elif defined( __GNUC__ )
  12. # if (__GNUC__ > 4 ) || ((__GNUC__ == 4 ) && (__GNUC_MINOR__ >= 7))
  13. # pragma pack( pop, packing )
  14. # endif
  15. #endif
  16. #undef PACK_STRUCT