include/SDL_windows.h
author Sam Lantinga <slouken@libsdl.org>
Fri, 10 Feb 2006 03:19:02 +0000
changeset 1356 67114343400d
parent 1345 7f32b9bede06
child 1423 4ed717f9e509
permissions -rw-r--r--
*** empty log message ***
slouken@1330
     1
/*
slouken@1330
     2
    SDL - Simple DirectMedia Layer
slouken@1330
     3
    Copyright (C) 1997-2006 Sam Lantinga
slouken@1330
     4
slouken@1330
     5
    This library is free software; you can redistribute it and/or
slouken@1330
     6
    modify it under the terms of the GNU Lesser General Public
slouken@1330
     7
    License as published by the Free Software Foundation; either
slouken@1330
     8
    version 2.1 of the License, or (at your option) any later version.
slouken@1330
     9
slouken@1330
    10
    This library is distributed in the hope that it will be useful,
slouken@1330
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
slouken@1330
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
slouken@1330
    13
    Lesser General Public License for more details.
slouken@1330
    14
slouken@1330
    15
    You should have received a copy of the GNU Lesser General Public
slouken@1330
    16
    License along with this library; if not, write to the Free Software
slouken@1330
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
slouken@1330
    18
slouken@1330
    19
    Sam Lantinga
slouken@1330
    20
    slouken@libsdl.org
slouken@1330
    21
*/
slouken@1330
    22
slouken@1330
    23
#ifndef _SDL_windows_h
slouken@1330
    24
#define _SDL_windows_h
slouken@1330
    25
slouken@1356
    26
#include "SDL_stdinc.h"
slouken@1330
    27
slouken@1330
    28
/* This includes only the windows headers needed by SDL, with no C runtime */
slouken@1330
    29
#define WIN32_LEAN_AND_MEAN
slouken@1330
    30
#ifndef HAVE_LIBC
slouken@1330
    31
#ifdef _MSC_VER
slouken@1330
    32
#ifndef __FLTUSED__
slouken@1330
    33
#define __FLTUSED__
slouken@1330
    34
#ifdef __cplusplus
slouken@1330
    35
   extern "C"
slouken@1330
    36
#endif
slouken@1330
    37
	   __declspec(selectany) int _fltused=1;
slouken@1330
    38
#endif
slouken@1330
    39
#endif /* _MSC_VER */
slouken@1330
    40
#define _INC_STDLIB
slouken@1330
    41
#define _INC_STRING
slouken@1330
    42
#define __STRALIGN_H_
slouken@1330
    43
#endif/* !HAVE_LIBC */
slouken@1330
    44
#include <windows.h>
slouken@1330
    45
slouken@1330
    46
#endif /* _SDL_windows_h */