Prevent warning due to macro redefinition
@@ -31,8 +31,15 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#include <openssl/sha.h>
#if _WIN32 || __CYGWIN__
+
+#ifndef PRIu64
#define PRIu64 "%I64d"
+#endif
+
+#ifndef PRIx64
#define PRIx64 "%I64x"
+#endif
+
#else
#include <inttypes.h>
#endif
