AAX SDK  2.1.1
Avid Audio Extensions Development Kit
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
AAX_PopStructAlignment.h
Go to the documentation of this file.
1 /*================================================================================================*/
2 /*
3  *
4  * Copyright (c) 1999 Avid Technology, Inc.
5  * All rights reserved.
6  *
7  * CONFIDENTIAL: This document contains confidential information. Do not
8  * read or examine this document unless you are an Avid Technology employee
9  * or have signed a non-disclosure agreement with Avid Technology which protects
10  * the confidentiality of this document. DO NOT DISCLOSE ANY INFORMATION
11  * CONTAINED IN THIS DOCUMENT TO ANY THIRD-PARTY WITHOUT THE PRIOR WRITTEN CONSENT
12  * OF Avid Technolgy, INC.
13  *
14  */
15 
42 /*================================================================================================*/
43 
44 // Nesting of struct alignment headers is not allowed
45 #ifndef __AAX_CUSTOM_STRUCT_ALIGN_IS_SET__
46  #error "No AAX struct alignment has been set. Cannot undo."
47 #else
48  #undef __AAX_CUSTOM_STRUCT_ALIGN_IS_SET__
49 #endif
50 
51 #ifdef _TMS320C6X
52  // Do nothing for TI
53 #elif defined (_MSC_VER)
54  #pragma pack(pop)
55 #elif defined (__GNUC__)
56  #pragma ms_struct off
57  #pragma pack(pop)
58 #elif defined (__MWERKS__)
59  #pragma options align=reset
60 #elif defined (__IAR_SYSTEMS_ICC)
61  // Do nothing for IAR Systems Embedded Workbench (Sync I/O F/W)
62 #else
63  #error "DigiError: You need to supply a pragma here to pop structure packing."
64 #endif