diff include/SDL_getenv.h @ 1336:3692456e7b0f

Use SDL_ prefixed versions of C library functions. FIXME: Change #include <stdlib.h> to #include "SDL_stdlib.h" Change #include <string.h> to #include "SDL_string.h" Make sure nothing else broke because of this...
author Sam Lantinga <slouken@libsdl.org>
date Tue, 07 Feb 2006 06:59:48 +0000
parents 450721ad5436
children 7ba544e2888d
line wrap: on
line diff
--- a/include/SDL_getenv.h	Mon Feb 06 17:28:04 2006 +0000
+++ b/include/SDL_getenv.h	Tue Feb 07 06:59:48 2006 +0000
@@ -20,39 +20,4 @@
     slouken@libsdl.org
 */
 
-#ifndef _SDL_getenv_h
-#define _SDL_getenv_h
-
-#include "SDL_config.h"
-
-#ifdef HAVE_STDLIB_H
-#include <stdlib.h>
-#endif
-
-#include "begin_code.h"
-/* Set up for C function definitions, even when using C++ */
-#ifdef __cplusplus
-extern "C" {
-#endif
-
-#ifdef HAVE_GETENV
-#define SDL_getenv	getenv
-#else
-#define getenv		SDL_getenv
-extern DECLSPEC char * SDLCALL SDL_getenv(const char *name);
-#endif
-
-#ifdef HAVE_PUTENV
-#define SDL_putenv	putenv
-#else
-#define putenv		SDL_putenv
-extern DECLSPEC int SDLCALL SDL_putenv(const char *variable);
-#endif
-
-/* Ends C function definitions when using C++ */
-#ifdef __cplusplus
-}
-#endif
-#include "close_code.h"
-
-#endif /* _SDL_getenv_h */
+#include "SDL_stdlib.h"