summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/config-win.h4
-rw-r--r--include/my_global.h9
-rw-r--r--include/my_sys.h1
3 files changed, 12 insertions, 2 deletions
diff --git a/include/config-win.h b/include/config-win.h
index fe099c11a2f..5c2f8e00e86 100644
--- a/include/config-win.h
+++ b/include/config-win.h
@@ -392,8 +392,8 @@ inline double ulonglong2double(ulonglong value)
#define HAVE_SPATIAL 1
#define HAVE_RTREE_KEYS 1
-#define HAVE_OPENSSL 1
-#define HAVE_YASSL 1
+/* #undef HAVE_OPENSSL */
+/* #undef HAVE_YASSL */
/* Define charsets you want */
/* #undef HAVE_CHARSET_armscii8 */
diff --git a/include/my_global.h b/include/my_global.h
index be7b668fdc0..5bf604d8fad 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -641,6 +641,15 @@ typedef SOCKET_SIZE_TYPE size_socket;
#define O_NOFOLLOW 0
#endif
+/* additional file share flags for win32 */
+#ifdef __WIN__
+#define _SH_DENYRWD 0x110 /* deny read/write mode & delete */
+#define _SH_DENYWRD 0x120 /* deny write mode & delete */
+#define _SH_DENYRDD 0x130 /* deny read mode & delete */
+#define _SH_DENYDEL 0x140 /* deny delete only */
+#endif /* __WIN__ */
+
+
/* #define USE_RECORD_LOCK */
/* Unsigned types supported by the compiler */
diff --git a/include/my_sys.h b/include/my_sys.h
index 76031806b82..44fe383bf4f 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -601,6 +601,7 @@ extern char *_my_strdup_with_length(const byte *from, uint length,
#ifdef __WIN__
extern int my_access(const char *path, int amode);
+extern File my_sopen(const char *path, int oflag, int shflag, int pmode);
#else
#define my_access access
#endif