[clinfo] 10/30: More format macro fixes for Windows
Andreas Beckmann
anbe at moszumanska.debian.org
Tue Apr 28 12:53:52 UTC 2015
This is an automated email from the git hooks/post-receive script.
anbe pushed a commit to branch master
in repository clinfo.
commit 94fdb47af528d24a08f1549efe7ab79bcdc5f878
Author: Giuseppe Bilotta <giuseppe.bilotta at gmail.com>
Date: Mon Feb 9 10:16:04 2015 +0100
More format macro fixes for Windows
---
src/fmtmacros.h | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/fmtmacros.h b/src/fmtmacros.h
index 2e18980..25f1076 100644
--- a/src/fmtmacros.h
+++ b/src/fmtmacros.h
@@ -5,13 +5,13 @@
easier.
*/
-#ifdef _MSC_VER
+#ifdef _WIN32
# include <stdint.h>
# include <stddef.h> // size_t
# define PRIu64 "I64u"
# define PRIX64 "I64x"
-# define PRIXPTR "I64x" // TODO FIXME
-# define PRIuS "I32u" // TODO FIXME
+# define PRIXPTR "p"
+# define PRIuS "Iu"
#else
# define __STDC_FORMAT_MACROS
# include <inttypes.h>
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-opencl/clinfo.git
More information about the Pkg-opencl-commits
mailing list