* updated the included libSDL header files and Mac OS X lib to SDL 1.2.11
This commit is contained in:
parent
c1ed094e53
commit
5aac275de2
40 changed files with 2571 additions and 609 deletions
|
@ -1,30 +1,24 @@
|
|||
/*
|
||||
SDL - Simple DirectMedia Layer
|
||||
Copyright (C) 1997-2006 Sam Lantinga
|
||||
|
||||
/* Not all environments have a working getenv()/putenv() */
|
||||
This library is free software; you can redistribute it and/or
|
||||
modify it under the terms of the GNU Lesser General Public
|
||||
License as published by the Free Software Foundation; either
|
||||
version 2.1 of the License, or (at your option) any later version.
|
||||
|
||||
#if defined(macintosh) || defined(_WIN32_WCE)
|
||||
#define NEED_SDL_GETENV
|
||||
#endif
|
||||
This library is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
||||
Lesser General Public License for more details.
|
||||
|
||||
#ifdef NEED_SDL_GETENV
|
||||
You should have received a copy of the GNU Lesser General Public
|
||||
License along with this library; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
|
||||
#include "begin_code.h"
|
||||
/* Set up for C function definitions, even when using C++ */
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
Sam Lantinga
|
||||
slouken@libsdl.org
|
||||
*/
|
||||
|
||||
/* Put a variable of the form "name=value" into the environment */
|
||||
extern DECLSPEC int SDLCALL SDL_putenv(const char *variable);
|
||||
#define putenv(X) SDL_putenv(X)
|
||||
|
||||
/* Retrieve a variable named "name" from the environment */
|
||||
extern DECLSPEC char * SDLCALL SDL_getenv(const char *name);
|
||||
#define getenv(X) SDL_getenv(X)
|
||||
|
||||
/* Ends C function definitions when using C++ */
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
#include "close_code.h"
|
||||
|
||||
#endif /* NEED_GETENV */
|
||||
/* DEPRECATED */
|
||||
#include "SDL_stdinc.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue