[X2Go-Commits] [x2goclient] 274/280: src/unix_stdint.h: use same hack to import ssize_t into std namespace.
git-admin at x2go.org
git-admin at x2go.org
Wed Jan 18 12:26:24 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 856b009f0cae4551644d1ba16a30dbc78b163e76
Author: Mihai Moldovan <ionic at ionic.de>
Date: Sat Dec 10 15:11:36 2016 +0100
src/unix_stdint.h: use same hack to import ssize_t into std namespace.
---
debian/changelog | 1 +
src/unix_stdint.h | 5 +++++
2 files changed, 6 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 3066cfa..d175389 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -527,6 +527,7 @@ x2goclient (4.0.5.3-0x2go1) UNRELEASED; urgency=medium
could be -1 and std::size_t is not applicable.
- src/pulsemanager.cpp: cast the return value of realloc () to char*, as
GCC doesn't seem to like reassigning the pointer otherwise.
+ - src/unix_stdint.h: use same hack to import ssize_t into std namespace.
[ Bernard Cafarelli ]
* New upstream version (4.0.5.3):
diff --git a/src/unix_stdint.h b/src/unix_stdint.h
index 633ecec..db59edf 100644
--- a/src/unix_stdint.h
+++ b/src/unix_stdint.h
@@ -40,6 +40,11 @@ namespace std {
using ::uint64_t;
}
+/* Same issue with unistd's ssize_t type. */
+namespace std {
+ using ::ssize_t;
+}
+
#endif /* defined (Q_OS_UNIX) */
--
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