From 93a5c9bc99a20516426cd633ea335f7da52db3b4 Mon Sep 17 00:00:00 2001 From: Benedikt Schemmer Date: Thu, 5 Jul 2018 09:49:15 +0200 Subject: [PATCH] Util: fix msvc build The MSVC preprocessor doesnt understand #warning Fixes: 2e1e6511f76 ("util: extract get_process_name from xmlconfig.c") Reviewed-by: Roland Scheidegger Reviewed-by: Emil Velikov --- src/util/process.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/util/process.c b/src/util/process.c index 449c7fa77c2..6e6376986f3 100644 --- a/src/util/process.c +++ b/src/util/process.c @@ -107,7 +107,7 @@ __getProgramName() # define GET_PROGRAM_NAME() __getProgramName() # else # define GET_PROGRAM_NAME() "" -# warning "Per application configuration won't work with your OS version." +# pragma message ( "Warning: Per application configuration won't work with your OS version." ) # endif #endif -- 2.30.2