Fix SDL compile before Nach yells

This commit is contained in:
pagefault
2005-10-01 23:03:13 +00:00
parent 0293ec532d
commit a433347a6b

View File

@@ -339,11 +339,13 @@ static char *int_to_asc(size_t number)
#ifdef __WIN32__
signed int WinCheckBatteryTime();
#endif
extern unsigned int MessageOn;
extern unsigned int MsgCount;
void DisplayBatteryStatus()
{
#ifdef __WIN32__
signed int batteryTime = WinCheckBatteryTime();
if (batteryTime>0)
@@ -352,5 +354,5 @@ void DisplayBatteryStatus()
MsgCount = 50000;
MessageOn = 2000;
}
}
#endif
}