]> git.ipfire.org Git - thirdparty/ccache.git/commit
Remove overengineered win32 gethostname fallback code
authorJoel Rosdahl <joel@rosdahl.net>
Fri, 15 May 2020 18:14:36 +0000 (20:14 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Wed, 20 May 2020 18:05:58 +0000 (20:05 +0200)
commit6f007e736b7fc85e6b225879132c0e5ffc16deed
treee70f525c31f9e2578fcde69e978c4506af20ca4d
parente5c5ee2ec7e2c1308a54382afe18a779c3c317cf
Remove overengineered win32 gethostname fallback code

Let’s assume that all systems we reasonably support have access to
gethostname. If not, revisit later.

Regarding the win32 case: Since the replacement code (triggered if
HAVE_GETHOSTNAME isn’t defined) itself uses gethostname, just use
gethostname.
configure.ac
src/legacy_util.cpp