summaryrefslogtreecommitdiff
path: root/innobase/include
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-05-20 20:24:02 +0300
committerunknown <heikki@donna.mysql.fi>2001-05-20 20:24:02 +0300
commitb72af6828ad4ffe6ec7ca225fcacb26209b1313a (patch)
tree42ebe5c140bed37ad7a6c605cb9bc1d27b6bf0d4 /innobase/include
parentb0d8cdacd04e27b9814c9965bae35bba8abff5a5 (diff)
downloadmariadb-git-b72af6828ad4ffe6ec7ca225fcacb26209b1313a.tar.gz
os0file.h InnoDB should now run with the same binary on Win95 and NT: checks OS version
srv0start.c InnoDB should now run with the same binary on Win95 and NT: checks OS version innobase/srv/srv0start.c: InnoDB should now run with the same binary on Win95 and NT: checks OS version innobase/include/os0file.h: InnoDB should now run with the same binary on Win95 and NT: checks OS version
Diffstat (limited to 'innobase/include')
-rw-r--r--innobase/include/os0file.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/innobase/include/os0file.h b/innobase/include/os0file.h
index 98e892f16b2..7ea90bb63e4 100644
--- a/innobase/include/os0file.h
+++ b/innobase/include/os0file.h
@@ -100,7 +100,17 @@ log. */
requests in a batch, and only after that
wake the i/o-handler thread; this has
effect only in simulated aio */
-
+#define OS_WIN31 1
+#define OS_WIN95 2
+#define OS_WINNT 3
+
+/***************************************************************************
+Gets the operating system version. Currently works only on Windows. */
+
+ulint
+os_get_os_version(void);
+/*===================*/
+ /* out: OS_WIN95, OS_WIN31, OS_WINNT (2000 == NT) */
/********************************************************************
Opens an existing file or creates a new. */