Mesa (master): Util: fix msvc build
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Jul 5 13:27:25 UTC 2018
Module: Mesa
Branch: master
Commit: 93a5c9bc99a20516426cd633ea335f7da52db3b4
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=93a5c9bc99a20516426cd633ea335f7da52db3b4
Author: Benedikt Schemmer <ben at besd.de>
Date: Thu Jul 5 09:49:15 2018 +0200
Util: fix msvc build
The MSVC preprocessor doesnt understand #warning
Fixes: 2e1e6511f76 ("util: extract get_process_name from xmlconfig.c")
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
Reviewed-by: Emil Velikov <emil.velikov at collabora.com>
---
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 449c7fa77c..6e6376986f 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
More information about the mesa-commit
mailing list