From 506f90bcc804ceadd596766be64d695ec898cc66 Mon Sep 17 00:00:00 2001 From: Jeffrey Walton Date: Tue, 27 Mar 2018 19:18:44 -0400 Subject: [PATCH] Fix VS2010 and "error C2065: uint32_t: undeclared identifier" (GH #608) We could fix aria.cpp by using word32. However, NaCl gear uses int64_t and we don't have a typedef setup for it. So we will need later for NaCl --- integer.h | 1 + stdcpp.h | 1 + 2 files changed, 2 insertions(+) diff --git a/integer.h b/integer.h index 8a8a0082..6aea077a 100644 --- a/integer.h +++ b/integer.h @@ -660,6 +660,7 @@ public: /// modulo the Integer n. If no Integer exists then Integer 0 is returned. /// \sa a_times_b_mod_c() and a_exp_b_mod_c() Integer InverseMod(const Integer &n) const; + /// \brief Calculate multiplicative inverse /// \param n the modulus /// \returns a word *this % n. diff --git a/stdcpp.h b/stdcpp.h index 9eac8835..fbea8389 100644 --- a/stdcpp.h +++ b/stdcpp.h @@ -52,6 +52,7 @@ namespace std { #include #include #include +#include #include #include