diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-07 22:16:03 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-02-07 22:16:03 +0100 |
commit | 21f758c9c05137f1f3e27d4363ca7c272ee7907c (patch) | |
tree | f6e6ea19d05d2c9ab5f2bd72e1fe298680779a2c /source/cSocket.h | |
parent | Temporary fix for Linux compilation. (gcc won't accept a function call in global var initialization) (diff) | |
download | cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.tar cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.tar.gz cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.tar.bz2 cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.tar.lz cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.tar.xz cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.tar.zst cuberite-21f758c9c05137f1f3e27d4363ca7c272ee7907c.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cSocket.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/cSocket.h b/source/cSocket.h index 7075adab5..b98741c4b 100644 --- a/source/cSocket.h +++ b/source/cSocket.h @@ -61,7 +61,7 @@ public: static const short ADDRESS_FAMILY_INTERNET = 2;
static const unsigned long INTERNET_ADDRESS_ANY = 0;
- static unsigned long INTERNET_ADDRESS_LOCALHOST; // 127.0.0.1 represented in network byteorder
+ static unsigned long INTERNET_ADDRESS_LOCALHOST(void); // 127.0.0.1 represented in network byteorder; must be a function due to GCC :(
int Bind( SockAddr_In& a_Address );
int Listen( int a_Backlog );
|