Skip to content

Commit

Permalink
replace #warning with #pragma message (#1216)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominichamon committed Aug 24, 2021
1 parent 04c4666 commit 2b09332
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sysinfo.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 2b09332

Please sign in to comment.