mirror of https://github.com/google/benchmark.git
fix master branch on *BSD (#792)
* fix master branch on *BSD * add name to CONTRIBUTORS
This commit is contained in:
parent
56fd56dc02
commit
415835e03e
|
@ -39,6 +39,7 @@ Eugene Zhuk <eugene.zhuk@gmail.com>
|
|||
Evgeny Safronov <division494@gmail.com>
|
||||
Federico Ficarelli <federico.ficarelli@gmail.com>
|
||||
Felix Homann <linuxaudio@showlabor.de>
|
||||
Hannes Hauswedell <h2@fsfe.org>
|
||||
Ismael Jimenez Martinez <ismael.jimenez.martinez@gmail.com>
|
||||
Jern-Kuan Leong <jernkuan@gmail.com>
|
||||
JianXiong Zhou <zhoujianxiong2@gmail.com>
|
||||
|
|
|
@ -429,7 +429,7 @@ std::string GetSystemName() {
|
|||
#endif
|
||||
return str;
|
||||
#else // defined(BENCHMARK_OS_WINDOWS)
|
||||
#ifdef BENCHMARK_OS_MACOSX //Mac Doesnt have HOST_NAME_MAX defined
|
||||
#ifdef BENCHMARK_HAS_SYSCTL // BSD/Mac Doesnt have HOST_NAME_MAX defined
|
||||
#define HOST_NAME_MAX 64
|
||||
#elif defined(BENCHMARK_OS_QNX)
|
||||
#define HOST_NAME_MAX 154
|
||||
|
|
Loading…
Reference in New Issue