diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-07-01 00:47:49 +0000 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-08-15 09:45:28 +0000 |
commit | 0a1574bb1347f856524014ef23cb2d686361075c (patch) | |
tree | 80a6e67ae04dc919fc03855b19eb598640c990d7 /osdep.h | |
parent | 3dcbf8f9ca5f361a38bf1b699080daeb40d5185e (diff) |
win32: Add missing function setenv
Mingw32 does not provide a declaration and implementation of function
setenv (which is used in sdl.c), so this patch adds both.
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'osdep.h')
-rw-r--r-- | osdep.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -95,6 +95,8 @@ int qemu_create_pidfile(const char *filename); #ifdef _WIN32 int ffs(int i); +int setenv(const char *name, const char *value, int overwrite); + typedef struct { long tv_sec; long tv_usec; |