Fix SDL compile before Nach yells
This commit is contained in:
@@ -339,11 +339,13 @@ static char *int_to_asc(size_t number)
|
|||||||
|
|
||||||
#ifdef __WIN32__
|
#ifdef __WIN32__
|
||||||
signed int WinCheckBatteryTime();
|
signed int WinCheckBatteryTime();
|
||||||
|
#endif
|
||||||
extern unsigned int MessageOn;
|
extern unsigned int MessageOn;
|
||||||
extern unsigned int MsgCount;
|
extern unsigned int MsgCount;
|
||||||
|
|
||||||
void DisplayBatteryStatus()
|
void DisplayBatteryStatus()
|
||||||
{
|
{
|
||||||
|
#ifdef __WIN32__
|
||||||
signed int batteryTime = WinCheckBatteryTime();
|
signed int batteryTime = WinCheckBatteryTime();
|
||||||
|
|
||||||
if (batteryTime>0)
|
if (batteryTime>0)
|
||||||
@@ -352,5 +354,5 @@ void DisplayBatteryStatus()
|
|||||||
MsgCount = 50000;
|
MsgCount = 50000;
|
||||||
MessageOn = 2000;
|
MessageOn = 2000;
|
||||||
}
|
}
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user