aboutsummaryrefslogtreecommitdiff
path: root/SrcShared/PalmPack.h
diff options
context:
space:
mode:
Diffstat (limited to 'SrcShared/PalmPack.h')
-rw-r--r--SrcShared/PalmPack.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/SrcShared/PalmPack.h b/SrcShared/PalmPack.h
new file mode 100644
index 0000000..466f92a
--- /dev/null
+++ b/SrcShared/PalmPack.h
@@ -0,0 +1,25 @@
+/* -*- mode: C++; tab-width: 4 -*- */
+/* ===================================================================== *\
+ Copyright (c) 1998-2001 Palm, Inc. or its subsidiaries.
+ All rights reserved.
+
+ This file is part of the Palm OS Emulator.
+
+ This program is free software; you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation; either version 2 of the License, or
+ (at your option) any later version.
+\* ===================================================================== */
+
+#if PRAGMA_STRUCT_ALIGN
+#pragma options align=mac68k
+#endif
+
+#if defined (_MSC_VER)
+#pragma warning (disable: 4103) // used #pragma pack to change alignment
+#pragma pack (push, 2)
+#endif
+
+#if defined(__GNUC__)
+#pragma pack(2)
+#endif