[Mesa-dev] [PATCH] Util: fix msvc build
Roland Scheidegger
sroland at vmware.com
Thu Jul 5 13:18:58 UTC 2018
Am 05.07.2018 um 09:49 schrieb Benedikt Schemmer:
> The MSVC preprocessor doesnt understand #warning
>
> ---
> 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
>
Reviewed-by: Roland Scheidegger <sroland at vmware.com>
More information about the mesa-dev
mailing list