diff options
author | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-10-08 19:46:48 -0400 |
---|---|---|
committer | Mark Benvenuto <mark.benvenuto@mongodb.com> | 2014-10-08 20:11:26 -0400 |
commit | d20905d154cdfa4c519231ab0860a86442b6ce71 (patch) | |
tree | 39ca2dbe5334d0f903e55558870672c29b92127f /src/include/os.h | |
parent | b253daad8208deea209fb203e80a7bbe4098849f (diff) | |
download | mongo-d20905d154cdfa4c519231ab0860a86442b6ce71.tar.gz |
Initial Windows Port
Diffstat (limited to 'src/include/os.h')
-rw-r--r-- | src/include/os.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/os.h b/src/include/os.h index 9a5da28d2c3..1b37301a841 100644 --- a/src/include/os.h +++ b/src/include/os.h @@ -1,3 +1,4 @@ + /*- * Copyright (c) 2008-2014 WiredTiger, Inc. * All rights reserved. @@ -51,7 +52,11 @@ struct __wt_fh { WT_SPINLOCK lock; /* Handle lock */ +#ifndef _WIN32 int fd; /* POSIX file handle */ +#else + HANDLE filehandle; /* Windows file handle */ +#endif wt_off_t size; /* File size */ wt_off_t extend_size; /* File extended size */ wt_off_t extend_len; /* File extend chunk size */ |