summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-02-04 20:55:02 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2004-02-04 20:55:02 +0000
commit90c0c8b53b62d96cd9fd35176f5bbdc1ced67126 (patch)
treeb8e3cb130dd7216ebbed4283365116b95367c95c /include
parent462f984e0813aee96e212b660bd68d85e32ceda0 (diff)
- fixed compilation of the agent under HP-UX (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1235 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'include')
-rw-r--r--include/snprintf.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/include/snprintf.c b/include/snprintf.c
index cd1e63ce..c0695167 100644
--- a/include/snprintf.c
+++ b/include/snprintf.c
@@ -785,7 +785,9 @@ static void dopr_outch(char *buffer, size_t *currlen, size_t maxlen, char c)
* these should really be smb_snprintf to avoid conflicts with buggy
* linkers? -- mbp
*/
-#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF)
+/* Alexei Does not work under HP-UX */
+/*#if !defined(HAVE_SNPRINTF) || !defined(HAVE_C99_SNPRINTF)*/
+#if !defined(HAVE_SNPRINTF)
int snprintf(char *str,size_t count,const char *fmt,...)
{
size_t ret;