summaryrefslogtreecommitdiff
path: root/innobase/include/os0file.h
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-05-20 20:32:37 +0300
committerunknown <heikki@donna.mysql.fi>2001-05-20 20:32:37 +0300
commit33db66b7c5145abe7c1cfc090df432a5adb6b6bf (patch)
tree09827902fb823fccee12cc5db50e8923aa01499d /innobase/include/os0file.h
parent926bd6761f78708b869a311facd7f0c4539cbf9e (diff)
downloadmariadb-git-33db66b7c5145abe7c1cfc090df432a5adb6b6bf.tar.gz
os0file.h Define always WIN_ASYNC_IO, check at run-time if the OS actually supports it
innobase/include/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