From c4abe1ed6a764bf27844e157370bd8ea9d06efc6 Mon Sep 17 00:00:00 2001 From: faketruth Date: Fri, 3 Feb 2012 16:01:25 +0000 Subject: MCServer should be running fast again on Linux!! YAAAY!! It seems the intialization of MersenneTwister was really slow on Linux because it did some file reading. Doing this 200 times a tick can be pretty slow... StringUtils didn't compile in Cygwin due to missing va_list definition git-svn-id: http://mc-server.googlecode.com/svn/trunk@230 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/StringUtils.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/StringUtils.h') diff --git a/source/StringUtils.h b/source/StringUtils.h index 8805c1d99..3f4bdef1a 100644 --- a/source/StringUtils.h +++ b/source/StringUtils.h @@ -11,6 +11,10 @@ +#ifndef _WIN32 +#include +#endif + typedef std::string AString; -- cgit v1.2.3