summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndreas Baumann <abaumann@yahoo.com>2009-04-05 12:40:12 +0200
committerAndreas Baumann <abaumann@yahoo.com>2009-04-05 12:40:12 +0200
commitb74581f8bbd2b6576caeab7af7b95242646dd7cc (patch)
tree4a8d7cf7d3c8312eec6644230fde030ba4c218bb /include
parentd70ae202e02dea09c7506d78c5b4ccb4de43d107 (diff)
downloadwolfbones-b74581f8bbd2b6576caeab7af7b95242646dd7cc.tar.gz
wolfbones-b74581f8bbd2b6576caeab7af7b95242646dd7cc.tar.bz2
snprintf stub for Solaris 8, z size_t modifier doesn't work
Diffstat (limited to 'include')
-rw-r--r--include/wolf/port/sys.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/include/wolf/port/sys.h b/include/wolf/port/sys.h
index 4f45e07..3bbd7a6 100644
--- a/include/wolf/port/sys.h
+++ b/include/wolf/port/sys.h
@@ -175,10 +175,8 @@
#define _XOPEN_SOURCE 600
#define __EXTENSIONS__
#endif
-/* TODO: check this, I don't think Solaris 8 has a working
- * snprintf! */
-#define HAVE_SNPRINTF
-#define HAVE_VSNPRINTF
+/* Solaris 8 has a snprintf, but it doesn't work for all C99 features,
+ * e.g. %zd for size_t */
#define HAVE_STRDUP
#define HAVE_ENUM_BOOL
#define HAVE_STRCASECMP