Fix compilation warning (win32)

git-svn-id: svn://pulkomandy.tk/GrafX2/trunk@679 416bcca6-2ee7-4201-b75f-2eb2f807beb1
This commit is contained in:
Yves Rizoud
2009-03-16 23:59:31 +00:00
parent cb1cac1b6f
commit 0bef53670b
3 changed files with 52 additions and 45 deletions

7
main.c
View File

@@ -66,6 +66,13 @@
#include "realpath.h"
#endif
#if defined (__WIN32__)
// On Windows, SDL_putenv is not present in any compilable header.
// It can be linked anyway, this declaration only avoids
// a compilation warning.
extern DECLSPEC int SDLCALL SDL_putenv(const char *variable);
#endif
byte Ancien_nb_lignes; // Ancien nombre de lignes de l'écran