diff mbox series

[FFmpeg-devel,3/5] compat/stdckdint: remove check for system stdckdint.h

Message ID 20240927014436.15622-3-jamrial@gmail.com
State New
Headers show
Series [FFmpeg-devel,1/5] compat: add a fallback implementation of C23 stdckdint.h | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 fail Make fate failed

Commit Message

James Almer Sept. 27, 2024, 1:44 a.m. UTC
We will check for it during configure.

Signed-off-by: James Almer <jamrial@gmail.com>
---
 compat/stdckdint/stdckdint.h | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)
diff mbox series

Patch

diff --git a/compat/stdckdint/stdckdint.h b/compat/stdckdint/stdckdint.h
index d5fda2fee6..1994d2e5cf 100644
--- a/compat/stdckdint/stdckdint.h
+++ b/compat/stdckdint/stdckdint.h
@@ -54,19 +54,7 @@ 
  * @version 0.1 (2023-07-22)
  */
 
-#ifndef JTCKDINT_H_
-#define JTCKDINT_H_
-
-#ifdef __has_include
-#define __ckd_has_include(x) __has_include(x)
-#else
-#define __ckd_has_include(x) 0
-#endif
-
-#if __ckd_has_include(<stdckdint.h>)
-#include <stdckdint.h>
-#else
-
+#ifndef __STDC_VERSION_STDCKDINT_H__
 #define __STDC_VERSION_STDCKDINT_H__ 202311L
 
 #if ((defined(__llvm__) ||                                              \
@@ -392,4 +380,3 @@  __ckd_declare_mul(__ckd_mul_uint128, unsigned __int128)
 
 #endif /* GNU */
 #endif /* stdckdint.h */
-#endif /* JTCKDINT_H_ */