summaryrefslogtreecommitdiffstats
path: root/src/util/process.c
diff options
context:
space:
mode:
authorBenedikt Schemmer <[email protected]>2018-07-05 09:49:15 +0200
committerEmil Velikov <[email protected]>2018-07-05 14:24:08 +0100
commit93a5c9bc99a20516426cd633ea335f7da52db3b4 (patch)
treefeb858078dfbebb6512f58b2af35a86b0d511e42 /src/util/process.c
parentf9b6dfd919f5ab2da8411e4d0fab3caf5ef7ad34 (diff)
Util: fix msvc build
The MSVC preprocessor doesnt understand #warning Fixes: 2e1e6511f76 ("util: extract get_process_name from xmlconfig.c") Reviewed-by: Roland Scheidegger <[email protected]> Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/util/process.c')
-rw-r--r--src/util/process.c2
1 files changed, 1 insertions, 1 deletions
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