Updated from its repository.
[cake.git] / workbench / classes / gadgets / texteditor / include / amiga-align.h
blob37fd2a9378cb82a46010829a33f7e877d2394e16
1 /***************************************************************************
3 YAM - Yet Another Mailer
4 Copyright (C) 1995-2000 by Marcel Beck <mbeck@yam.ch>
5 Copyright (C) 2000-2006 by YAM Open Source Team
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 2 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program; if not, write to the Free Software
19 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 YAM Official Support Site : http://www.yam.ch
22 YAM OpenSource project : http://sourceforge.net/projects/yamos/
24 $Id$
26 ***************************************************************************/
29 ** Special include file for setting a global
30 ** pragma to align structures to 68k
32 ** This is needed by AmigaOS4 or MorphOS or every PPC
33 ** because alignment on PPC is different.
35 #if defined(__PPC__)
36 #if defined(__GNUC__)
37 #pragma pack(2)
38 #elif defined(__VBCC__)
39 #pragma amiga-align
40 #endif
41 #endif