瀏覽代碼

libarchive: Map fixed-size integer types from KWIML as typedefs

Refactoring in commit ade3b16e63 (libarchive: Use KWIML to get
fixed-size integer types, 2020-06-01) accidentally changed the method of
defining `int#_t` types from `typedef` to `#define`.  Change it back to
`typedef`.

Reported-by: Rolf Eike Beer <[email protected]>
Brad King 5 年之前
父節點
當前提交
9f3923893c
共有 1 個文件被更改,包括 10 次插入10 次删除
  1. 10 10
      Utilities/cmlibarchive/build/cmake/config.h.in

+ 10 - 10
Utilities/cmlibarchive/build/cmake/config.h.in

@@ -1118,34 +1118,34 @@
 #include <cm3p/kwiml/int.h>
 #include <cm3p/kwiml/int.h>
 
 
 #ifndef KWIML_INT_HAVE_INT64_T
 #ifndef KWIML_INT_HAVE_INT64_T
-# define int64_t KWIML_INT_int64_t
+typedef KWIML_INT_int64_t int64_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_INT32_T
 #ifndef KWIML_INT_HAVE_INT32_T
-# define int32_t KWIML_INT_int32_t
+typedef KWIML_INT_int32_t int32_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_INT16_T
 #ifndef KWIML_INT_HAVE_INT16_T
-# define int16_t KWIML_INT_int16_t
+typedef KWIML_INT_int16_t int16_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_INT8_T
 #ifndef KWIML_INT_HAVE_INT8_T
-# define int8_t KWIML_INT_int8_t
+typedef KWIML_INT_int8_t int8_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_INTPTR_T
 #ifndef KWIML_INT_HAVE_INTPTR_T
-# define intptr_t KWIML_INT_intptr_t
+typedef KWIML_INT_intptr_t intptr_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_UINT64_T
 #ifndef KWIML_INT_HAVE_UINT64_T
-# define uint64_t KWIML_INT_uint64_t
+typedef KWIML_INT_uint64_t uint64_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_UINT32_T
 #ifndef KWIML_INT_HAVE_UINT32_T
-# define uint32_t KWIML_INT_uint32_t
+typedef KWIML_INT_uint32_t uint32_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_UINT16_T
 #ifndef KWIML_INT_HAVE_UINT16_T
-# define uint16_t KWIML_INT_uint16_t
+typedef KWIML_INT_uint16_t uint16_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_UINT8_T
 #ifndef KWIML_INT_HAVE_UINT8_T
-# define uint8_t KWIML_INT_uint8_t
+typedef KWIML_INT_uint8_t uint8_t;
 #endif
 #endif
 #ifndef KWIML_INT_HAVE_UINTPTR_T
 #ifndef KWIML_INT_HAVE_UINTPTR_T
-# define uintptr_t KWIML_INT_uintptr_t
+typedef KWIML_INT_uintptr_t uintptr_t;
 #endif
 #endif
 
 
 /* Define to 1 if you have the <stdint.h> header file. */
 /* Define to 1 if you have the <stdint.h> header file. */