hedgewars/SDLh.pas
changeset 5565 1a326ba319c9
parent 5505 a55aab592950
child 5577 272c82f82cee
child 5660 1647244b3ffe
--- a/hedgewars/SDLh.pas	Sun Aug 14 17:49:12 2011 -0400
+++ b/hedgewars/SDLh.pas	Mon Aug 15 00:23:32 2011 +0200
@@ -833,8 +833,10 @@
 function  SDL_JoystickGetButton(joy: PSDL_Joystick; button: LongInt): Byte; cdecl; external SDLLibName;
 procedure SDL_JoystickClose(joy: PSDL_Joystick); cdecl; external SDLLibName;
 
+{$IFDEF WIN32}
 function SDL_putenv(const text: PChar): LongInt; cdecl; external SDLLibName;
 function SDL_getenv(const text: PChar): PChar; cdecl; external SDLLibName;
+{$ENDIF}
 
 {* Compatibility between SDL-1.2 and SDL-1.3 *}
 procedure SDL_WarpMouse(x, y: Word); {$IFNDEF SDL13}cdecl; external SDLLibName;{$ENDIF}