summaryrefslogtreecommitdiff
path: root/include/config-win.h
diff options
context:
space:
mode:
authorunknown <ramil@mysql.com>2005-12-13 12:20:05 +0400
committerunknown <ramil@mysql.com>2005-12-13 12:20:05 +0400
commitf8bc9bd1b6f74038338c841367b42ccaa68d760b (patch)
tree49779a73424276ed0e1ff98e287fd3d5394cc82c /include/config-win.h
parent1f61e98e1b0a57d75ab22f5f58af0bc10a8f4c82 (diff)
downloadmariadb-git-f8bc9bd1b6f74038338c841367b42ccaa68d760b.tar.gz
Fix for bug#15209: MySQL installation problem on Windows ME.
include/config-win.h: Fix for bug#15209: MySQL installation problem on Windows ME. - set FILE_SHARE_DELETE to 0 as it's not implemented on Win98/ME (my_sopen() fails)
Diffstat (limited to 'include/config-win.h')
-rw-r--r--include/config-win.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/config-win.h b/include/config-win.h
index edfb4ecc5c7..528bc8a8cdd 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -325,6 +325,11 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_SETFILEPOINTER
#define HAVE_VIO_READ_BUFF
+#ifndef __NT__
+#undef FILE_SHARE_DELETE
+#define FILE_SHARE_DELETE 0 /* Not implemented on Win 98/ME */
+#endif
+
#ifdef NOT_USED
#define HAVE_SNPRINTF /* Gave link error */
#define _snprintf snprintf