From 5c8d7a75bfdc6e7371465c5bdd58e414f53db9d5 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 7 Feb 2012 21:04:37 +0000 Subject: Temporary fix for Linux compilation. (gcc won't accept a function call in global var initialization) git-svn-id: http://mc-server.googlecode.com/svn/trunk@241 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cSocket.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cSocket.cpp b/source/cSocket.cpp index fa016762c..f53724216 100644 --- a/source/cSocket.cpp +++ b/source/cSocket.cpp @@ -16,7 +16,7 @@ - unsigned long cSocket::INTERNET_ADDRESS_LOCALHOST = htonl((127 << 24) | 1); + unsigned long cSocket::INTERNET_ADDRESS_LOCALHOST = 127; // TODO: Linux won't accept this: htonl((127 << 24) | 1); -- cgit v1.2.3