File diff r23482:de566f8c088d → r23483:3733e6b8ff17
src/dedicated.cpp
Show inline comments
 
@@ -8,14 +8,12 @@
 
 */
 

	
 
/** @file dedicated.cpp Forking support for dedicated servers. */
 

	
 
#include "stdafx.h"
 

	
 
#ifdef ENABLE_NETWORK
 

	
 
char *_log_file = NULL; ///< File to reroute output of a forked OpenTTD to
 
FILE *_log_fd   = NULL; ///< File to reroute output of a forked OpenTTD to
 

	
 
#if defined(UNIX)
 

	
 
#include <unistd.h>
 
@@ -64,13 +62,6 @@ void DedicatedFork()
 
			printf("Loading dedicated server...\n");
 
			printf("  - Forked to background with pid " PRINTF_PID_T "\n", pid);
 
			exit(0);
 
	}
 
}
 
#endif
 

	
 
#else
 

	
 
/** Empty helper function call for NOT(UNIX) systems */
 
void DedicatedFork() {}
 

	
 
#endif /* ENABLE_NETWORK */