repo.or.cz
/
LibreOffice.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
bump product version to 7.2.5.1
[LibreOffice.git]
/
external
/
libtommath
/
clang-cl.patch
blob
1cc92d380c62cd21abfd82b165fc3c6c81b111e0
1
--- tommath.h
2
+++ tommath.h
3
@@ -15,6 +15,13 @@
4
#ifndef BN_H_
5
#define BN_H_
6
7
+// Work around clang-cl issue when mp_word is a typedef for unsigned __int128, see
8
+// <https://bugs.llvm.org/show_bug.cgi?id=25305> "Clang-cl generates a call to an undefined symbol
9
+// _udivti3":
10
+#if defined _WIN32 && defined __clang__
11
+#define MP_8BIT
12
+#endif
13
+
14
#include <stdio.h>
15
#include <stdlib.h>
16
#include <stdint.h>