From 36a53993325e861fb0da2e7b44392d55a86e4d53 Mon Sep 17 00:00:00 2001
From: Biswapriyo Nath <[email protected]>
Date: Thu, 4 Mar 2021 12:42:52 +0530
Subject: [PATCH] headers/crt: Remove builtin crc32 function declaration.

Because g++ shows those declarations as redundant.
Revert of 7ae84a6139579752bf678c070763c01b673b4120

Signed-off-by: Biswapriyo Nath <[email protected]>
---
 mingw-w64-headers/crt/intrin.h | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/mingw-w64-headers/crt/intrin.h b/mingw-w64-headers/crt/intrin.h
index 198c94f..4e840fa 100644
--- a/mingw-w64-headers/crt/intrin.h
+++ b/mingw-w64-headers/crt/intrin.h
@@ -56,9 +56,6 @@
 
 #if defined(__GNUC__) && \
    (defined(__i386__) || defined(__x86_64__))
-  extern unsigned int __builtin_ia32_crc32qi (unsigned int, unsigned char);
-  extern unsigned int __builtin_ia32_crc32hi (unsigned int, unsigned short);
-  extern unsigned int __builtin_ia32_crc32si (unsigned int, unsigned int);
 #ifndef _MM_MALLOC_H_INCLUDED
 #include <stdlib.h>
 #include <errno.h>
-- 
2.30.1

_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to