Util: fix msvc build

The MSVC preprocessor doesnt understand #warning

Fixes: 2e1e6511f7 ("util: extract get_process_name from xmlconfig.c")
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Benedikt Schemmer 2018-07-05 09:49:15 +02:00 committed by Emil Velikov
parent f9b6dfd919
commit 93a5c9bc99

View file

@ -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