diff options
author | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-05-22 03:46:11 +0000 |
---|---|---|
committer | tjw <tjw@edf5b092-35ff-0310-97b2-ce42778d08ea> | 2007-05-22 03:46:11 +0000 |
commit | d28ebff56e669b04b2591f3e5b19f054d5fd955e (patch) | |
tree | 761c2cfc58c6af9019d7175573a597ce076db5a7 /code/SDL12/include/SDL_getenv.h | |
parent | 33f302fec8eb69bc45451b1fb376b6a0b8ce0273 (diff) | |
download | ioquake3-aero-d28ebff56e669b04b2591f3e5b19f054d5fd955e.tar.gz ioquake3-aero-d28ebff56e669b04b2591f3e5b19f054d5fd955e.zip |
* updated the included libSDL header files and Mac OS X lib to SDL 1.2.11
git-svn-id: svn://svn.icculus.org/quake3/trunk@1089 edf5b092-35ff-0310-97b2-ce42778d08ea
Diffstat (limited to 'code/SDL12/include/SDL_getenv.h')
-rw-r--r-- | code/SDL12/include/SDL_getenv.h | 54 |
1 files changed, 24 insertions, 30 deletions
diff --git a/code/SDL12/include/SDL_getenv.h b/code/SDL12/include/SDL_getenv.h index 42037dd..853b9ce 100644 --- a/code/SDL12/include/SDL_getenv.h +++ b/code/SDL12/include/SDL_getenv.h @@ -1,30 +1,24 @@ - -/* Not all environments have a working getenv()/putenv() */ - -#if defined(macintosh) || defined(_WIN32_WCE) -#define NEED_SDL_GETENV -#endif - -#ifdef NEED_SDL_GETENV - -#include "begin_code.h" -/* Set up for C function definitions, even when using C++ */ -#ifdef __cplusplus -extern "C" { -#endif - -/* 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 */ +/* + SDL - Simple DirectMedia Layer + Copyright (C) 1997-2006 Sam Lantinga + + 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. + + 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. + + 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 + + Sam Lantinga + slouken@libsdl.org +*/ + +/* DEPRECATED */ +#include "SDL_stdinc.h" |