From: John Tsiombikas Date: Wed, 18 Feb 2015 05:03:16 +0000 (+0000) Subject: MacOSX doesn't define HOST_NAME_MAX in unistd.h, which made freeglut fail to X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=ea46c9f7ece4897adb3e0f529b082cea51442cd8;hp=ea46c9f7ece4897adb3e0f529b082cea51442cd8;p=freeglut MacOSX doesn't define HOST_NAME_MAX in unistd.h, which made freeglut fail to build. Now, if the definition is missing, we'll just define it arbitrarilly as 255, which should be a safe value. This is just needed for an obscure X11 WM protocol. git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@1746 7f0cb862-5218-0410-a997-914c9d46530a ---