14 lines
296 B
Diff
14 lines
296 B
Diff
--- chafa/internal/chafa-popcnt.c
|
|
+++ chafa/internal/chafa-popcnt.c
|
|
@@ -23,6 +23,10 @@
|
|
#include "chafa/chafa.h"
|
|
#include "chafa/chafa-private.h"
|
|
|
|
+#if !defined(HAVE_POPCNT64_INTRINSICS) && !defined(__GLIBC__)
|
|
+typedef int __int32_t;
|
|
+#endif
|
|
+
|
|
gint
|
|
chafa_pop_count_u64_builtin (guint64 v)
|
|
{
|