mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-26 04:35:39 +03:00
17 lines
373 B
Diff
17 lines
373 B
Diff
--- ttaenc-3.4.1-src/ttaenc.h.orig
|
|
+++ ttaenc-3.4.1-src/ttaenc.h
|
|
@@ -101,8 +101,13 @@
|
|
typedef unsigned __int32 uint32;
|
|
typedef unsigned __int64 uint64;
|
|
#else
|
|
+#if __GLIBC__
|
|
typedef __uint32_t uint32;
|
|
typedef __uint64_t uint64;
|
|
+#else
|
|
+typedef uint32_t uint32;
|
|
+typedef uint64_t uint64;
|
|
+#endif
|
|
#endif
|
|
|
|
#define PREDICTOR1(x, k) ((int)((((uint64)x << k) - x) >> k))
|
|
|