summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.com>2000-08-22 00:55:45 +0300
committerunknown <monty@donna.mysql.com>2000-08-22 00:55:45 +0300
commit9d7c3ceed2978d46c77c020bbe8c4463cda690d8 (patch)
tree4165f0388ea379df6e182b463f63ca0c5c5a1507 /include
parenta803c36b70e5816f0e00c0598114cefdcf5bb0b3 (diff)
downloadmariadb-git-9d7c3ceed2978d46c77c020bbe8c4463cda690d8.tar.gz
Fix for snprintf
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/include/config-win.h b/include/config-win.h
index 4c29f9a0a8c..eca0de680d8 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -222,8 +222,6 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_PERROR
#define HAVE_VFPRINT
-#define HAVE_SNPRINTF
-#define _snprintf snprintf
#define HAVE_CHSIZE /* System has chsize() function */
#define HAVE_RENAME /* Have rename() as function */
#define HAVE_BINARY_STREAMS /* Have "b" flag in streams */
@@ -248,6 +246,11 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_ALLOCA
#define HAVE_COMPRESS
+#ifdef NOT_USED
+#define HAVE_SNPRINTF /* Gave link error */
+#define _snprintf snprintf
+#endif
+
#ifdef _MSC_VER
#define HAVE_LDIV /* The optimizer breaks in zortech for ldiv */
#define HAVE_ANSI_INCLUDE