Mercurial > sdl-ios-xcode
diff include/SDL_getenv.h @ 337:9154ec9ca3d2
Explicitly specify the SDL API calling convention (C by default)
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Thu, 11 Apr 2002 14:35:16 +0000 |
parents | 74212992fb08 |
children | f098b247299d |
line wrap: on
line diff
--- a/include/SDL_getenv.h Wed Apr 10 17:12:32 2002 +0000 +++ b/include/SDL_getenv.h Thu Apr 11 14:35:16 2002 +0000 @@ -14,11 +14,11 @@ #endif /* Put a variable of the form "name=value" into the environment */ -extern DECLSPEC int SDL_putenv(const char *variable); +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 *SDL_getenv(const char *name); +extern DECLSPEC char * SDLCALL SDL_getenv(const char *name); #define getenv(X) SDL_getenv(X) /* Ends C function definitions when using C++ */