[X2Go-Commits] [x2goclient] 270/280: src/pulsemanager.h: use unix_stdint.h on non-Windows-platforms to get std::(u)int*_t types without having to use C++11.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 18 12:26:21 CET 2017


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch bugfix/osx
in repository x2goclient.

commit cb661f850fa14ec8ed905da70a974fc61d48c846
Author: Mihai Moldovan <ionic at ionic.de>
Date:   Sat Dec 10 14:40:08 2016 +0100

    src/pulsemanager.h: use unix_stdint.h on non-Windows-platforms to get std::(u)int*_t types without having to use C++11.
---
 debian/changelog   |    2 ++
 src/pulsemanager.h |    2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index b4d3176..6d452fc 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -519,6 +519,8 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
       and imports functions into the std namespace.
     - src/: create new file unix_stdint.h which imports the (u)int*_t types
       into the std namespace.
+    - src/pulsemanager.h: use unix_stdint.h on non-Windows-platforms to get
+      std::(u)int*_t types without having to use C++11.
 
   [ Bernard Cafarelli ]
   * New upstream version (4.0.5.3):
diff --git a/src/pulsemanager.h b/src/pulsemanager.h
index 0b1ae3c..0aa5c6a 100644
--- a/src/pulsemanager.h
+++ b/src/pulsemanager.h
@@ -34,7 +34,7 @@
 #ifdef Q_OS_WIN
 #include "windows_stdint.h"
 #else /* defined (Q_OS_WIN) */
-#include <cstdint>
+#include "unix_stdint.h"
 #endif /* defined (Q_OS_WIN) */
 
 #include "x2gosettings.h"

--
Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git


More information about the x2go-commits mailing list