summaryrefslogtreecommitdiff
path: root/storage/connect/fmdlex.c
diff options
context:
space:
mode:
authorOlivier Bertrand <bertrandop@gmail.com>2015-06-02 10:34:51 +0200
committerOlivier Bertrand <bertrandop@gmail.com>2015-06-02 10:34:51 +0200
commite8ea671c2523f56fce0eacabbba05689aa4824f9 (patch)
treeaf7b056f4ecff525dd8b0fbaa978635269be0d2a /storage/connect/fmdlex.c
parent893631a8c188817e3294edc11de2087630dde801 (diff)
downloadmariadb-git-e8ea671c2523f56fce0eacabbba05689aa4824f9.tar.gz
Commit changes pulled from ob-10.0
Diffstat (limited to 'storage/connect/fmdlex.c')
-rw-r--r--storage/connect/fmdlex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/storage/connect/fmdlex.c b/storage/connect/fmdlex.c
index a72a2b9b31e..22c3a1e79ad 100644
--- a/storage/connect/fmdlex.c
+++ b/storage/connect/fmdlex.c
@@ -20,11 +20,12 @@
*/
#define FLEX_SCANNER
-#if WIN32
+#ifdef __WIN__
#define __STDC__ 1
+#define isatty _isatty
#endif
#include <stdio.h>
-#ifndef WIN32
+#ifndef __WIN__
#include <unistd.h>
#endif