From 2b093325e17e409fa7a6d53197708a8bef0893e6 Mon Sep 17 00:00:00 2001 From: Dominic Hamon Date: Tue, 24 Aug 2021 15:08:15 +0100 Subject: [PATCH] replace #warning with #pragma message (#1216) --- src/sysinfo.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sysinfo.cc b/src/sysinfo.cc index cae7aa54..937604fe 100644 --- a/src/sysinfo.cc +++ b/src/sysinfo.cc @@ -444,7 +444,7 @@ std::string GetSystemName() { #elif defined(BENCHMARK_OS_RTEMS) #define HOST_NAME_MAX 256 #else -#warning "HOST_NAME_MAX not defined. using 64" +#pragma message("HOST_NAME_MAX not defined. using 64") #define HOST_NAME_MAX 64 #endif #endif // def HOST_NAME_MAX