summaryrefslogtreecommitdiff
path: root/innobase/include/os0file.h
diff options
context:
space:
mode:
authorheikki@donna.mysql.fi <>2001-05-20 20:32:37 +0300
committerheikki@donna.mysql.fi <>2001-05-20 20:32:37 +0300
commit8ad84072380fdec8ffb3d1e08e76dd7810dff077 (patch)
tree09827902fb823fccee12cc5db50e8923aa01499d /innobase/include/os0file.h
parent0400d665789e81f9d9fe1482ac1ce607c711c524 (diff)
downloadmariadb-git-8ad84072380fdec8ffb3d1e08e76dd7810dff077.tar.gz
os0file.h Define always WIN_ASYNC_IO, check at run-time if the OS actually supports it
Diffstat (limited to 'innobase/include/os0file.h')
-rw-r--r--innobase/include/os0file.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/innobase/include/os0file.h b/innobase/include/os0file.h
index 7ea90bb63e4..c093cb92ca9 100644
--- a/innobase/include/os0file.h
+++ b/innobase/include/os0file.h
@@ -13,12 +13,10 @@ Created 10/21/1995 Heikki Tuuri
#ifdef __WIN__
-#if (defined(__NT__) || defined(__WIN2000__))
-
+/* We define always WIN_ASYNC_IO, and check at run-time whether
+ the OS actually supports it: Win 95 does not, NT does. */
#define WIN_ASYNC_IO
-#endif
-
#define UNIV_NON_BUFFERED_IO
#else