From 2b1c9b74d1dd55d7b44f3b0c90ba39767a3da7d1 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Mon, 27 Feb 2017 09:06:35 +0100 Subject: [PATCH] Fix compilation on systems without uint like windows --- libretroshare/src/services/p3gxsmails.cpp | 1 + libretroshare/src/services/p3msgservice.cc | 2 ++ 2 files changed, 3 insertions(+) diff --git a/libretroshare/src/services/p3gxsmails.cpp b/libretroshare/src/services/p3gxsmails.cpp index 55667cf9a..a4957b4e7 100644 --- a/libretroshare/src/services/p3gxsmails.cpp +++ b/libretroshare/src/services/p3gxsmails.cpp @@ -19,6 +19,7 @@ #include "p3gxsmails.h" #include "util/stacktrace.h" +typedef unsigned int uint; p3GxsMails::~p3GxsMails() { diff --git a/libretroshare/src/services/p3msgservice.cc b/libretroshare/src/services/p3msgservice.cc index de310db3b..6da7a91b7 100644 --- a/libretroshare/src/services/p3msgservice.cc +++ b/libretroshare/src/services/p3msgservice.cc @@ -65,6 +65,8 @@ //#define DISABLE_DISTANT_MESSAGES //#define DEBUG_DISTANT_MSG +typedef unsigned int uint; + using namespace Rs::Msgs; static struct RsLog::logInfo msgservicezoneInfo = {RsLog::Default, "msgservice"};