util: Remove unused WIN32 and MSVC related staff in p_compiler.h

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>
This commit is contained in:
Yonggang Luo
2022-11-19 03:10:40 +08:00
committed by Marge Bot
parent f70f20433b
commit 3bf7791e93

View File

@@ -41,21 +41,6 @@
#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