summaryrefslogtreecommitdiff
path: root/XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp
diff options
context:
space:
mode:
authorHubert Figuière <hub@figuiere.net>2013-06-29 22:05:20 -0400
committerHubert Figuière <hub@figuiere.net>2013-06-29 22:08:01 -0400
commit4652015fe779e12fb06ff8fa56bf70e373cd3894 (patch)
treede8d78fb704c3eb86802c07eace17eaea0f2ddde /XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp
parent81a4c6bcb1879cb321246590faca595e9746f8e5 (diff)
Update to XMP SDK CC 2013.06
Diffstat (limited to 'XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp')
-rw-r--r--XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp b/XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp
index 07c8969..73165e4 100644
--- a/XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp
+++ b/XMPFiles/source/FormatSupport/WAVE/CartMetadata.cpp
@@ -22,7 +22,11 @@ using namespace IFF_RIFF;
// Types and globals for the stored form of the cart chunk.
+#if SUNOS_SPARC || SUNOS_X86
+#pragma pack ( 1 )
+#else
#pragma pack ( push, 1 )
+#endif //#if SUNOS_SPARC || SUNOS_X86
struct StoredCartChunk {
char Version[4]; // All of the fixed size text fields are null-filled local text,
@@ -49,7 +53,11 @@ struct StoredCartChunk {
static const size_t kMinimumCartChunkSize = sizeof(StoredCartChunk);
+#if SUNOS_SPARC || SUNOS_X86
+#pragma pack ( )
+#else
#pragma pack ( pop )
+#endif //#if SUNOS_SPARC || SUNOS_X86
static const size_t kFixedTextCount = (CartMetadata::kLastFixedTextField - CartMetadata::kFirstFixedTextField + 1);