2
* See the file LICENSE for redistribution information.
4
* Copyright (c) 1998-2002
5
* Sleepycat Software. All rights reserved.
9
#include "db_int_def.h"
12
static const char revid[] = "$Id$";
17
* Return 1 if Windows/NT, otherwise 0.
19
* PUBLIC: int __os_is_winnt __P((void));
24
static int __os_type = -1;
27
* The value of __os_type is computed only once, and cached to
28
* avoid the overhead of repeated calls to GetVersion().
30
if (__os_type == -1) {
31
if ((GetVersion() & 0x80000000) == 0)