aboutsummaryrefslogtreecommitdiff
path: root/math/readstat/files/patch-src_readstat__bits.h
diff options
context:
space:
mode:
Diffstat (limited to 'math/readstat/files/patch-src_readstat__bits.h')
-rw-r--r--math/readstat/files/patch-src_readstat__bits.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/readstat/files/patch-src_readstat__bits.h b/math/readstat/files/patch-src_readstat__bits.h
new file mode 100644
index 000000000000..83dde0c07762
--- /dev/null
+++ b/math/readstat/files/patch-src_readstat__bits.h
@@ -0,0 +1,11 @@
+--- src/readstat_bits.h.orig 2023-02-19 12:35:46 UTC
++++ src/readstat_bits.h
+@@ -7,7 +7,7 @@
+ #undef READSTAT_MACHINE_IS_TWOS_COMPLEMENT
+ #define READSTAT_MACHINE_IS_TWOS_COMPLEMENT 0
+
+-int machine_is_little_endian();
++int machine_is_little_endian(void);
+
+ char ones_to_twos_complement1(char num);
+ int16_t ones_to_twos_complement2(int16_t num);