misc/winutils/include/close_code.h
author koda
Tue, 02 Jun 2015 19:51:04 +0100
branch0.9.21
changeset 10765 7e55468ffe38
parent 7809 7d4fb2f35f4f
permissions -rw-r--r--
Fix building hedgewars-server
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     1
/*
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     2
    SDL - Simple DirectMedia Layer
7809
7d4fb2f35f4f update SDL headers for winutils
koda
parents: 6560
diff changeset
     3
    Copyright (C) 1997-2012 Sam Lantinga
6560
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     4
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     5
    This library is free software; you can redistribute it and/or
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     6
    modify it under the terms of the GNU Library General Public
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     7
    License as published by the Free Software Foundation; either
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     8
    version 2 of the License, or (at your option) any later version.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
     9
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    10
    This library is distributed in the hope that it will be useful,
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    13
    Library General Public License for more details.
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    14
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    15
    You should have received a copy of the GNU Library General Public
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    16
    License along with this library; if not, write to the Free
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    17
    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    18
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    19
    Sam Lantinga
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    20
    slouken@libsdl.org
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    21
*/
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    22
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    23
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    24
 *  @file close_code.h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    25
 *  This file reverses the effects of begin_code.h and should be included
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    26
 *  after you finish any function and structure declarations in your headers
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    27
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    28
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    29
#undef _begin_code_h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    30
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    31
/**
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    32
 *  @file close_code.h
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    33
 *  Reset structure packing at previous byte alignment
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    34
 */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    35
#if defined(_MSC_VER) || defined(__MWERKS__) || defined(__WATCOMC__)  || defined(__BORLANDC__)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    36
#ifdef __BORLANDC__
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    37
#pragma nopackwarning
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    38
#endif
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    39
#if (defined(__MWERKS__) && defined(__MACOS__))
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    40
#pragma options align=reset
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    41
#pragma enumsalwaysint reset
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    42
#else
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    43
#pragma pack(pop)
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    44
#endif
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    45
#endif /* Compiler needs structure packing set */
ca07e6be08d0 GCI task: cmd.exe
bovi
parents:
diff changeset
    46