summaryrefslogtreecommitdiff
path: root/include/my_global.h
diff options
context:
space:
mode:
authorMats Kindahl <mats.kindahl@oracle.com>2010-12-02 09:18:47 +0100
committerMats Kindahl <mats.kindahl@oracle.com>2010-12-02 09:18:47 +0100
commit8c937b86b294a3ef6afa0c1d0d15afccee57ab87 (patch)
treee80f62e0fa93db4031692da37ec7732458d5874f /include/my_global.h
parente7c62beba754c0f2e8320cc462a67b74904be8e2 (diff)
downloadmariadb-git-8c937b86b294a3ef6afa0c1d0d15afccee57ab87.tar.gz
Bug #58246: INSTALL PLUGIN not secure & crashable
Adding symbol FN_DIRSEP to Windows as well.
Diffstat (limited to 'include/my_global.h')
-rw-r--r--include/my_global.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_global.h b/include/my_global.h
index 155450e07de..a411ab8a118 100644
--- a/include/my_global.h
+++ b/include/my_global.h
@@ -611,6 +611,7 @@ typedef SOCKET_SIZE_TYPE size_socket;
#ifdef _WIN32
#define FN_LIBCHAR '\\'
#define FN_LIBCHAR2 '/'
+#define FN_DIRSEP "/\\" /* Valid directory separators */
#define FN_ROOTDIR "\\"
#define FN_DEVCHAR ':'
#define FN_NETWORK_DRIVES /* Uses \\ to indicate network drives */