include/SDL_compat.h
author Sam Lantinga <slouken@libsdl.org>
Sun, 12 Dec 2010 15:19:05 -0800
changeset 4929 aa8888658021
parent 4468 82f357a91d43
child 4943 f65299ded39c
permissions -rw-r--r--
Use the enumerated type for blend and scale mode instead of int
Renamed SDL_TextureScaleMode to SDL_ScaleMode
slouken@1895
     1
/*
slouken@1895
     2
    SDL - Simple DirectMedia Layer
slouken@3697
     3
    Copyright (C) 1997-2010 Sam Lantinga
slouken@1895
     4
slouken@1895
     5
    This library is free software; you can redistribute it and/or
slouken@1895
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1895
     7
    License as published by the Free Software Foundation; either
slouken@1895
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1895
     9
slouken@1895
    10
    This library is distributed in the hope that it will be useful,
slouken@1895
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1895
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1895
    13
    Lesser General Public License for more details.
slouken@1895
    14
slouken@1895
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1895
    16
    License along with this library; if not, write to the Free Software
slouken@1895
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1895
    18
slouken@1895
    19
    Sam Lantinga
slouken@1895
    20
    slouken@libsdl.org
slouken@1895
    21
*/
slouken@1895
    22
slouken@3407
    23
 /**
slouken@3407
    24
 *  \defgroup Compatibility SDL 1.2 Compatibility API
slouken@3407
    25
 */
slouken@3407
    26
/*@{*/
slouken@1895
    27
slouken@3407
    28
/**
slouken@3407
    29
 *  \file SDL_compat.h
slouken@3407
    30
 *
slouken@3407
    31
 *  This file contains functions for backwards compatibility with SDL 1.2.
slouken@3407
    32
 */
slouken@3407
    33
slouken@3407
    34
/**
slouken@3407
    35
 *  \def SDL_NO_COMPAT
slouken@3407
    36
 *
slouken@3407
    37
 *  #define SDL_NO_COMPAT to prevent SDL_compat.h from being included.
slouken@3407
    38
 *  SDL_NO_COMPAT is intended to make it easier to covert SDL 1.2 code to
slouken@3407
    39
 *  SDL 1.3/2.0.
slouken@3407
    40
 */
slouken@3407
    41
slouken@3407
    42
 /*@}*/
bob@3164
    43
bob@3164
    44
#ifdef SDL_NO_COMPAT
bob@3164
    45
#define _SDL_compat_h
bob@3164
    46
#endif
bob@3164
    47
slouken@1895
    48
#ifndef _SDL_compat_h
slouken@1895
    49
#define _SDL_compat_h
slouken@1895
    50
slouken@1895
    51
#include "SDL_video.h"
slouken@1895
    52
#include "SDL_version.h"
slouken@1895
    53
slouken@1895
    54
#include "begin_code.h"
slouken@1895
    55
/* Set up for C function definitions, even when using C++ */
slouken@1895
    56
#ifdef __cplusplus
slouken@1895
    57
/* *INDENT-OFF* */
slouken@1895
    58
extern "C" {
slouken@1895
    59
/* *INDENT-ON* */
slouken@1895
    60
#endif
slouken@1895
    61
slouken@3407
    62
/**
slouken@3407
    63
 *  \addtogroup Compatibility
slouken@3407
    64
 */
slouken@3407
    65
/*@{*/
slouken@3407
    66
slouken@3407
    67
/**
slouken@3407
    68
 *  \name Surface flags
slouken@3407
    69
 */
slouken@3407
    70
/*@{*/
slouken@3407
    71
#define SDL_SWSURFACE       0x00000000  /**< \note Not used */
slouken@2267
    72
#define SDL_SRCALPHA        0x00010000
slouken@2267
    73
#define SDL_SRCCOLORKEY     0x00020000
slouken@1895
    74
#define SDL_ANYFORMAT       0x00100000
slouken@1895
    75
#define SDL_HWPALETTE       0x00200000
slouken@1895
    76
#define SDL_DOUBLEBUF       0x00400000
slouken@1895
    77
#define SDL_FULLSCREEN      0x00800000
slouken@1895
    78
#define SDL_RESIZABLE       0x01000000
slouken@1895
    79
#define SDL_NOFRAME         0x02000000
slouken@1895
    80
#define SDL_OPENGL          0x04000000
slouken@3407
    81
#define SDL_HWSURFACE       0x08000001  /**< \note Not used */
slouken@3407
    82
#define SDL_ASYNCBLIT       0x08000000  /**< \note Not used */
slouken@3407
    83
#define SDL_RLEACCELOK      0x08000000  /**< \note Not used */
slouken@3407
    84
#define SDL_HWACCEL         0x08000000  /**< \note Not used */
slouken@3407
    85
/*@}*//*Surface flags*/
slouken@1895
    86
slouken@1895
    87
#define SDL_APPMOUSEFOCUS	0x01
slouken@1895
    88
#define SDL_APPINPUTFOCUS	0x02
slouken@1895
    89
#define SDL_APPACTIVE		0x04
slouken@1895
    90
slouken@1895
    91
#define SDL_LOGPAL 0x01
slouken@1895
    92
#define SDL_PHYSPAL 0x02
slouken@1895
    93
slouken@4429
    94
#define SDL_ACTIVEEVENT	SDL_EVENT_COMPAT1
slouken@4429
    95
#define SDL_VIDEORESIZE	SDL_EVENT_COMPAT2
slouken@4429
    96
#define SDL_VIDEOEXPOSE	SDL_EVENT_COMPAT3
slouken@4429
    97
#define SDL_ACTIVEEVENTMASK	SDL_ACTIVEEVENT, SDL_ACTIVEEVENT
slouken@4429
    98
#define SDL_VIDEORESIZEMASK SDL_VIDEORESIZE, SDL_VIDEORESIZE
slouken@4429
    99
#define SDL_VIDEOEXPOSEMASK SDL_VIDEOEXPOSE, SDL_VIDEOEXPOSE
slouken@4429
   100
#define SDL_WINDOWEVENTMASK SDL_WINDOWEVENT, SDL_WINDOWEVENT
slouken@4429
   101
#define SDL_KEYDOWNMASK SDL_KEYDOWN, SDL_KEYDOWN
slouken@4429
   102
#define SDL_KEYUPMASK SDL_KEYUP, SDL_KEYUP
slouken@4429
   103
#define SDL_KEYEVENTMASK SDL_KEYDOWN, SDL_KEYUP
slouken@4429
   104
#define SDL_TEXTEDITINGMASK SDL_TEXTEDITING, SDL_TEXTEDITING
slouken@4429
   105
#define SDL_TEXTINPUTMASK SDL_TEXTINPUT, SDL_TEXTINPUT
slouken@4429
   106
#define SDL_MOUSEMOTIONMASK SDL_MOUSEMOTION, SDL_MOUSEMOTION
slouken@4429
   107
#define SDL_MOUSEBUTTONDOWNMASK SDL_MOUSEBUTTONDOWN, SDL_MOUSEBUTTONDOWN
slouken@4429
   108
#define SDL_MOUSEBUTTONUPMASK SDL_MOUSEBUTTONUP, SDL_MOUSEBUTTONUP
slouken@4429
   109
#define SDL_MOUSEWHEELMASK SDL_MOUSEWHEEL, SDL_MOUSEWHEEL
slouken@4429
   110
#define SDL_MOUSEEVENTMASK SDL_MOUSEMOTION, SDL_MOUSEBUTTONUP
slouken@4429
   111
#define SDL_JOYAXISMOTIONMASK SDL_JOYAXISMOTION, SDL_JOYAXISMOTION
slouken@4429
   112
#define SDL_JOYBALLMOTIONMASK SDL_JOYBALLMOTION, SDL_JOYBALLMOTION
slouken@4429
   113
#define SDL_JOYHATMOTIONMASK SDL_JOYHATMOTION, SDL_JOYHATMOTION
slouken@4429
   114
#define SDL_JOYBUTTONDOWNMASK SDL_JOYBUTTONDOWN, SDL_JOYBUTTONDOWN
slouken@4429
   115
#define SDL_JOYBUTTONUPMASK SDL_JOYBUTTONUP, SDL_JOYBUTTONUP
slouken@4429
   116
#define SDL_JOYEVENTMASK SDL_JOYAXISMOTION, SDL_JOYBUTTONUP
slouken@4429
   117
#define SDL_QUITMASK SDL_QUIT, SDL_QUIT
slouken@4429
   118
#define SDL_SYSWMEVENTMASK SDL_SYSWMEVENT, SDL_SYSWMEVENT
slouken@4429
   119
#define SDL_PROXIMITYINMASK SDL_PROXIMITYIN, SDL_PROXIMITYIN
slouken@4429
   120
#define SDL_PROXIMITYOUTMASK SDL_PROXIMITYOUT, SDL_PROXIMITYOUT
slouken@4429
   121
#define SDL_ALLEVENTS SDL_FIRSTEVENT, SDL_LASTEVENT
slouken@1895
   122
slouken@1895
   123
#define SDL_BUTTON_WHEELUP	4
slouken@1895
   124
#define SDL_BUTTON_WHEELDOWN	5
slouken@1895
   125
slouken@2129
   126
#define SDL_DEFAULT_REPEAT_DELAY	500
slouken@2129
   127
#define SDL_DEFAULT_REPEAT_INTERVAL	30
slouken@2129
   128
slouken@1895
   129
typedef struct SDL_VideoInfo
slouken@1895
   130
{
slouken@1895
   131
    Uint32 hw_available:1;
slouken@1895
   132
    Uint32 wm_available:1;
slouken@1895
   133
    Uint32 UnusedBits1:6;
slouken@1895
   134
    Uint32 UnusedBits2:1;
slouken@1895
   135
    Uint32 blit_hw:1;
slouken@1895
   136
    Uint32 blit_hw_CC:1;
slouken@1895
   137
    Uint32 blit_hw_A:1;
slouken@1895
   138
    Uint32 blit_sw:1;
slouken@1895
   139
    Uint32 blit_sw_CC:1;
slouken@1895
   140
    Uint32 blit_sw_A:1;
slouken@1895
   141
    Uint32 blit_fill:1;
slouken@1895
   142
    Uint32 UnusedBits3:16;
slouken@1895
   143
    Uint32 video_mem;
slouken@1895
   144
slouken@1895
   145
    SDL_PixelFormat *vfmt;
slouken@2862
   146
slouken@2862
   147
    int current_w;
slouken@2862
   148
    int current_h;
slouken@1895
   149
} SDL_VideoInfo;
slouken@1895
   150
slouken@3407
   151
/**
slouken@3407
   152
 *  \name Overlay formats
slouken@3407
   153
 *
slouken@3407
   154
 *  The most common video overlay formats.
slouken@3407
   155
 *  
slouken@3407
   156
 *  For an explanation of these pixel formats, see:
slouken@3407
   157
 *  http://www.webartz.com/fourcc/indexyuv.htm
slouken@3407
   158
 *  
slouken@3407
   159
 *  For information on the relationship between color spaces, see:
slouken@3407
   160
 *  http://www.neuro.sfc.keio.ac.jp/~aly/polygon/info/color-space-faq.html
slouken@3407
   161
 */
slouken@3407
   162
/*@{*/
slouken@3407
   163
#define SDL_YV12_OVERLAY  0x32315659    /**< Planar mode: Y + V + U  (3 planes) */
slouken@3407
   164
#define SDL_IYUV_OVERLAY  0x56555949    /**< Planar mode: Y + U + V  (3 planes) */
slouken@3407
   165
#define SDL_YUY2_OVERLAY  0x32595559    /**< Packed mode: Y0+U0+Y1+V0 (1 plane) */
slouken@3407
   166
#define SDL_UYVY_OVERLAY  0x59565955    /**< Packed mode: U0+Y0+V0+Y1 (1 plane) */
slouken@3407
   167
#define SDL_YVYU_OVERLAY  0x55595659    /**< Packed mode: Y0+V0+Y1+U0 (1 plane) */
slouken@3407
   168
/*@}*//*Overlay formats*/
slouken@1895
   169
slouken@3407
   170
/**
slouken@3407
   171
 *  The YUV hardware video overlay.
slouken@1895
   172
 */
slouken@1895
   173
typedef struct SDL_Overlay
slouken@1895
   174
{
slouken@3407
   175
    Uint32 format;              /**< Read-only */
slouken@3407
   176
    int w, h;                   /**< Read-only */
slouken@3407
   177
    int planes;                 /**< Read-only */
slouken@3407
   178
    Uint16 *pitches;            /**< Read-only */
slouken@3407
   179
    Uint8 **pixels;             /**< Read-write */
slouken@1895
   180
slouken@3407
   181
    /** 
slouken@3407
   182
     *  \name Hardware-specific surface info
slouken@3407
   183
     */
slouken@3407
   184
    /*@{*/
slouken@1895
   185
    struct private_yuvhwfuncs *hwfuncs;
slouken@1895
   186
    struct private_yuvhwdata *hwdata;
slouken@3407
   187
    /*@}*//*Hardware-specific surface info*/
slouken@1895
   188
slouken@3407
   189
    /** 
slouken@3407
   190
     *  \name Special flags
slouken@3407
   191
     */
slouken@3407
   192
    /*@{*/
slouken@3407
   193
    Uint32 hw_overlay:1;        /**< Flag: This overlay hardware accelerated? */
slouken@1895
   194
    Uint32 UnusedBits:31;
slouken@3407
   195
    /*@}*//*Special flags*/
slouken@1895
   196
} SDL_Overlay;
slouken@1895
   197
slouken@1895
   198
typedef enum
slouken@1895
   199
{
slouken@1895
   200
    SDL_GRAB_QUERY = -1,
slouken@1895
   201
    SDL_GRAB_OFF = 0,
slouken@1895
   202
    SDL_GRAB_ON = 1
slouken@1895
   203
} SDL_GrabMode;
slouken@1895
   204
slouken@4929
   205
typedef enum
slouken@4929
   206
{
slouken@4929
   207
    SDL_TEXTURESCALEMODE_NONE = SDL_SCALEMODE_NONE,
slouken@4929
   208
    SDL_TEXTURESCALEMODE_FAST = SDL_SCALEMODE_FAST,
slouken@4929
   209
    SDL_TEXTURESCALEMODE_SLOW = SDL_SCALEMODE_SLOW,
slouken@4929
   210
    SDL_TEXTURESCALEMODE_BEST = SDL_SCALEMODE_BEST
slouken@4929
   211
} SDL_TextureScaleMode;
slouken@4929
   212
slouken@1895
   213
struct SDL_SysWMinfo;
slouken@1895
   214
slouken@3407
   215
/**
slouken@3407
   216
 *  \name Obsolete or renamed key codes
slouken@3407
   217
 */
slouken@3407
   218
/*@{*/
slouken@2268
   219
slouken@3407
   220
/** 
slouken@3407
   221
 *  \name Renamed keys
slouken@3407
   222
 *
slouken@3407
   223
 *  These key constants were renamed for clarity or consistency. 
slouken@3407
   224
 */
slouken@3407
   225
/*@{*/
slouken@2268
   226
#define SDLK_KP0 SDLK_KP_0
slouken@2268
   227
#define SDLK_KP1 SDLK_KP_1
slouken@2268
   228
#define SDLK_KP2 SDLK_KP_2
slouken@2268
   229
#define SDLK_KP3 SDLK_KP_3
slouken@2268
   230
#define SDLK_KP4 SDLK_KP_4
slouken@2268
   231
#define SDLK_KP5 SDLK_KP_5
slouken@2268
   232
#define SDLK_KP6 SDLK_KP_6
slouken@2268
   233
#define SDLK_KP7 SDLK_KP_7
slouken@2268
   234
#define SDLK_KP8 SDLK_KP_8
slouken@2268
   235
#define SDLK_KP9 SDLK_KP_9
slouken@2303
   236
#define SDLK_NUMLOCK SDLK_NUMLOCKCLEAR
slouken@2268
   237
#define SDLK_SCROLLOCK SDLK_SCROLLLOCK
slouken@2268
   238
#define SDLK_PRINT SDLK_PRINTSCREEN
slouken@4425
   239
#define SDLK_LMETA SDLK_LGUI
slouken@4425
   240
#define SDLK_RMETA SDLK_RGUI
slouken@3407
   241
/*@}*//*Renamed keys*/
slouken@2268
   242
slouken@3407
   243
/**
slouken@3407
   244
 *  \name META modifier
slouken@3407
   245
 *  
slouken@3407
   246
 *  The META modifier is equivalent to the GUI modifier from the USB standard.
slouken@3407
   247
 */
slouken@3407
   248
/*@{*/
slouken@2303
   249
#define KMOD_LMETA KMOD_LGUI
slouken@2303
   250
#define KMOD_RMETA KMOD_RGUI
slouken@2303
   251
#define KMOD_META KMOD_GUI
slouken@3407
   252
/*@}*//*META modifier*/
slouken@2268
   253
slouken@3407
   254
/** 
slouken@3407
   255
 *  \name Not in USB
slouken@3407
   256
 *
slouken@3407
   257
 *  These keys don't appear in the USB specification (or at least not under 
slouken@3407
   258
 *  those names). I'm unsure if the following assignments make sense or if these
slouken@3407
   259
 *  codes should be defined as actual additional SDLK_ constants.
slouken@3407
   260
 */
slouken@3407
   261
/*@{*/
slouken@2268
   262
#define SDLK_LSUPER SDLK_LMETA
slouken@2268
   263
#define SDLK_RSUPER SDLK_RMETA
slouken@2268
   264
#define SDLK_COMPOSE SDLK_APPLICATION
slouken@2268
   265
#define SDLK_BREAK SDLK_STOP
slouken@2268
   266
#define SDLK_EURO SDLK_2
slouken@3407
   267
/*@}*//*Not in USB*/
slouken@2268
   268
slouken@3407
   269
/*@}*//*Obsolete or renamed key codes*/
slouken@2268
   270
slouken@1895
   271
#define SDL_SetModuleHandle(x)
slouken@1895
   272
#define SDL_AllocSurface    SDL_CreateRGBSurface
slouken@1895
   273
slouken@1895
   274
extern DECLSPEC const SDL_version *SDLCALL SDL_Linked_Version(void);
bob@2329
   275
extern DECLSPEC char *SDLCALL SDL_AudioDriverName(char *namebuf, int maxlen);
bob@2329
   276
extern DECLSPEC char *SDLCALL SDL_VideoDriverName(char *namebuf, int maxlen);
slouken@1895
   277
extern DECLSPEC const SDL_VideoInfo *SDLCALL SDL_GetVideoInfo(void);
bob@2328
   278
extern DECLSPEC int SDLCALL SDL_VideoModeOK(int width,
bob@2328
   279
                                            int height,
bob@2329
   280
                                            int bpp, Uint32 flags);
slouken@3040
   281
extern DECLSPEC SDL_Rect **SDLCALL SDL_ListModes(const SDL_PixelFormat *
slouken@3040
   282
                                                 format, Uint32 flags);
slouken@3040
   283
extern DECLSPEC SDL_Surface *SDLCALL SDL_SetVideoMode(int width, int height,
bob@2329
   284
                                                      int bpp, Uint32 flags);
slouken@1895
   285
extern DECLSPEC SDL_Surface *SDLCALL SDL_GetVideoSurface(void);
slouken@1895
   286
extern DECLSPEC void SDLCALL SDL_UpdateRects(SDL_Surface * screen,
bob@2329
   287
                                             int numrects, SDL_Rect * rects);
bob@2328
   288
extern DECLSPEC void SDLCALL SDL_UpdateRect(SDL_Surface * screen,
bob@2328
   289
                                            Sint32 x,
bob@2329
   290
                                            Sint32 y, Uint32 w, Uint32 h);
slouken@1895
   291
extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface * screen);
bob@2328
   292
extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface * surface,
bob@2329
   293
                                         Uint32 flag, Uint8 alpha);
slouken@1895
   294
extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface);
bob@2329
   295
extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface *
bob@2329
   296
                                                            surface);
slouken@1895
   297
extern DECLSPEC void SDLCALL SDL_WM_SetCaption(const char *title,
slouken@1895
   298
                                               const char *icon);
slouken@2043
   299
extern DECLSPEC void SDLCALL SDL_WM_GetCaption(const char **title,
slouken@2043
   300
                                               const char **icon);
bob@2329
   301
extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask);
slouken@1895
   302
extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void);
slouken@1895
   303
extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface);
slouken@1895
   304
extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode);
bob@2328
   305
extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface,
bob@2328
   306
                                           int flags,
slouken@1895
   307
                                           const SDL_Color * colors,
bob@2329
   308
                                           int firstcolor, int ncolors);
slouken@1895
   309
extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
slouken@1895
   310
                                          const SDL_Color * colors,
bob@2329
   311
                                          int firstcolor, int ncolors);
slouken@1895
   312
extern DECLSPEC int SDLCALL SDL_GetWMInfo(struct SDL_SysWMinfo *info);
slouken@1895
   313
extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
bob@2329
   314
extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
slouken@1895
   315
extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width,
slouken@1895
   316
                                                          int height,
slouken@1895
   317
                                                          Uint32 format,
slouken@1895
   318
                                                          SDL_Surface *
slouken@1895
   319
                                                          display);
slouken@1895
   320
extern DECLSPEC int SDLCALL SDL_LockYUVOverlay(SDL_Overlay * overlay);
slouken@1895
   321
extern DECLSPEC void SDLCALL SDL_UnlockYUVOverlay(SDL_Overlay * overlay);
slouken@1895
   322
extern DECLSPEC int SDLCALL SDL_DisplayYUVOverlay(SDL_Overlay * overlay,
slouken@1895
   323
                                                  SDL_Rect * dstrect);
slouken@1895
   324
extern DECLSPEC void SDLCALL SDL_FreeYUVOverlay(SDL_Overlay * overlay);
slouken@1912
   325
extern DECLSPEC void SDLCALL SDL_GL_SwapBuffers(void);
bob@2329
   326
extern DECLSPEC int SDLCALL SDL_EnableKeyRepeat(int delay, int interval);
bob@2329
   327
extern DECLSPEC void SDLCALL SDL_GetKeyRepeat(int *delay, int *interval);
slouken@2303
   328
extern DECLSPEC int SDLCALL SDL_EnableUNICODE(int enable);
slouken@1895
   329
slouken@3685
   330
#define SDL_TextureID SDL_Texture*
slouken@3685
   331
#define SDL_WindowID SDL_Window*
slouken@3596
   332
#define SDL_RenderPoint SDL_RenderDrawPoint
slouken@3596
   333
#define SDL_RenderLine SDL_RenderDrawLine
slouken@3596
   334
#define SDL_RenderFill(X)  (X) ? SDL_RenderFillRect(X) : SDL_RenderClear()
slouken@4468
   335
#define SDL_KillThread(X)
slouken@3536
   336
icculus@3581
   337
extern DECLSPEC int SDLCALL SDL_putenv(const char *variable);
icculus@3581
   338
slouken@3407
   339
/*@}*//*Compatibility*/
slouken@3407
   340
slouken@1895
   341
/* Ends C function definitions when using C++ */
slouken@1895
   342
#ifdef __cplusplus
slouken@1895
   343
/* *INDENT-OFF* */
slouken@1895
   344
}
slouken@1895
   345
/* *INDENT-ON* */
slouken@1895
   346
#endif
slouken@1895
   347
#include "close_code.h"
slouken@1895
   348
slouken@1895
   349
#endif /* _SDL_compat_h */
slouken@1895
   350
slouken@1895
   351
/* vi: set ts=4 sw=4 expandtab: */