| 1 | diff -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 21:06:30.000000000 +0000 |
| 3 | +++ ./src/base/low/cl_low_mul.cc 2017-01-17 23:08:39.856001383 +0000 |
| 4 | @@ -10,11 +10,11 @@ |
| 5 | // Implementation. |
| 6 | |
| 7 | #ifdef NEED_VAR_mulu32_high |
| 8 | -uint32 mulu32_high; |
| 9 | +extern "C" { uint32 mulu32_high; } |
| 10 | #endif |
| 11 | |
| 12 | #ifdef NEED_FUNCTION_mulu32_ |
| 13 | -uint32 mulu32_high; |
| 14 | +extern "C" { uint32 mulu32_high; } |
| 15 | namespace cln { |
| 16 | uint32 mulu32_ (uint32 x, uint32 y) |
| 17 | { |
| 18 | @@ -50,11 +50,11 @@ |
| 19 | |
| 20 | |
| 21 | #ifdef NEED_VAR_mulu64_high |
| 22 | -uint64 mulu64_high; |
| 23 | +extern "C" { uint64 mulu64_high; } |
| 24 | #endif |
| 25 | |
| 26 | #ifdef NEED_FUNCTION_mulu64_ |
| 27 | -uint64 mulu64_high; |
| 28 | +extern "C" { uint64 mulu64_high; } |
| 29 | namespace cln { |
| 30 | extern "C" uint64 mulu64_ (uint64 x, uint64 y); |
| 31 | uint64 mulu64_ (uint64 x, uint64 y) |