Merge branch 'master' into jgrpp
# Conflicts: # cmake/CompileFlags.cmake # src/crashlog.cpp # src/crashlog.h # src/date_type.h # src/depot_type.h # src/landscape.cpp # src/openttd.cpp # src/order_cmd.cpp # src/order_gui.cpp # src/os/macosx/crashlog_osx.cpp # src/os/unix/crashlog_unix.cpp # src/os/windows/crashlog_win.cpp # src/pathfinder/npf/npf.cpp # src/road_cmd.cpp # src/script/api/script_infrastructure.cpp # src/stdafx.h # src/table/settings/gui_settings.ini # src/table/settings/pathfinding_settings.ini # src/tests/CMakeLists.txt
This commit is contained in:
@@ -21,14 +21,7 @@ std::unique_ptr<FILE, FileDeleter> _log_fd; ///< File to reroute output of a for
|
||||
|
||||
#include "safeguards.h"
|
||||
|
||||
#if defined(SUNOS) && !defined(_LP64) && !defined(_I32LPx)
|
||||
/* Solaris has, in certain situation, pid_t defined as long, while in other
|
||||
* cases it has it defined as int... this handles all cases nicely.
|
||||
*/
|
||||
# define PRINTF_PID_T "%ld"
|
||||
#else
|
||||
# define PRINTF_PID_T "%d"
|
||||
#endif
|
||||
#define PRINTF_PID_T "%d"
|
||||
|
||||
void DedicatedFork()
|
||||
{
|
||||
|
Reference in New Issue
Block a user