hedgewars/SDLh.pas
branchhedgeroid
changeset 5577 272c82f82cee
parent 5550 50650032c251
parent 5565 1a326ba319c9
child 5725 e27100a0e2d0
--- a/hedgewars/SDLh.pas	Mon Aug 15 21:45:27 2011 +0200
+++ b/hedgewars/SDLh.pas	Mon Aug 15 21:49:09 2011 +0200
@@ -870,8 +870,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}