mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 02:15:43 -04:00
Compile fix for non-windows systems
This commit is contained in:
parent
b4fa8e90f9
commit
843dc3daa7
@ -1045,7 +1045,11 @@ start_p3dpython(P3DInstance *inst) {
|
||||
}
|
||||
|
||||
// Append a timestamp suffix to the log_basename
|
||||
#ifdef _WIN32
|
||||
_tzset();
|
||||
#else
|
||||
tzset();
|
||||
#endif
|
||||
time_t log_time_seconds = time(NULL);
|
||||
struct tm *log_time_local_p = localtime(&log_time_seconds);
|
||||
if (log_time_local_p != NULL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user