fix clang cmake build left broken for arches other than aarch64 by #2f0de58717 (...
[termux-packages] / packages / libcln / src-base-low-cl_low_mul.cc.patch
CommitLineData
093bb798
FF
1diff -u -r ../cln-1.3.4/src/base/low/cl_low_mul.cc ./src/base/low/cl_low_mul.cc
2--- ../cln-1.3.4/src/base/low/cl_low_mul.cc 2011-04-08 23:06:30.000000000 +0200
3+++ ./src/base/low/cl_low_mul.cc 2017-01-15 18:42:11.755489083 +0100
4@@ -50,11 +50,11 @@
5
6
7 #ifdef NEED_VAR_mulu64_high
8-uint64 mulu64_high;
9+extern "C" uint64 mulu64_high;
10 #endif
11
12 #ifdef NEED_FUNCTION_mulu64_
13-uint64 mulu64_high;
14+extern "C" uint64 mulu64_high;
15 namespace cln {
16 extern "C" uint64 mulu64_ (uint64 x, uint64 y);
17 uint64 mulu64_ (uint64 x, uint64 y)