util: Remove unused WIN32 and MSVC related staff in p_compiler.h
authorYonggang Luo <luoyonggang@gmail.com>
Fri, 18 Nov 2022 19:10:40 +0000 (03:10 +0800)
committerMarge Bot <emma+marge@anholt.net>
Thu, 24 Nov 2022 06:21:39 +0000 (06:21 +0000)
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19918>

src/gallium/include/pipe/p_compiler.h

index ce5f0c8..3a0d8fe 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 
-
-#if defined(_WIN32) && !defined(__WIN32__)
-#define __WIN32__
-#endif
-
-#if defined(_MSC_VER)
-
-#include <intrin.h>
-
-/* Avoid 'expression is always true' warning */
-#pragma warning(disable: 4296)
-
-#endif /* _MSC_VER */
-
-
 #ifdef __cplusplus
 extern "C" {
 #endif