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

James Almer jamrial at gmail.com
Fri Sep 27 04:44:34 EEST 2024


We will check for it during configure.

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

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_ */
-- 
2.46.1



More information about the ffmpeg-devel mailing list