summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dbm/src/snprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/dbm/src/snprintf.c b/dbm/src/snprintf.c
index 451a17a66..57ebfbfdd 100644
--- a/dbm/src/snprintf.c
+++ b/dbm/src/snprintf.c
@@ -1,3 +1,5 @@
+#ifndef HAVE_SNPRINTF
+
#include "watcomfx.h"
#include <sys/types.h>
#include <stddef.h>
@@ -64,3 +66,5 @@ vsnprintf(str, n, fmt, ap)
return (vsprintf(str, fmt, ap));
#endif
}
+
+#endif /* HAVE_SNPRINTF */