Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37524689
en ru br
ALT Linux repositórios
S:1.1.0-alt2

Group :: Sistema/Bibliotecas
RPM: libtommath

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: libtommath-1.0.1-alt-e2k.patch
Download


diff --git a/tommath.h b/tommath.h
index 7dda0a5..848431d 100644
--- a/tommath.h
+++ b/tommath.h
@@ -26,6 +26,12 @@
 extern "C" {
 #endif
+/* MS Visual C++ doesn't have a 128bit type for words, so fall back
+ * to 32bit MPI's (where words are 64bit) */
+#if defined(_MSC_VER) || defined(__LLP64__) || defined(__e2k__) || defined(__LCC__)
+#   define MP_32BIT
+#endif
+
 /* detect 64-bit mode if possible */
 #if defined(__x86_64__) || defined(_M_X64) || defined(_M_AMD64) || \
     defined(__powerpc64__) || defined(__ppc64__) || defined(__PPC64__) || \
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009