blob: 875415d2801f4258e6b7c6c26b6f0508cfc0aaa1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* wincap.cc -- figure out on which OS we're running.
Lightweight version for Cygserver
Copyright 2006 Red Hat, Inc.
This file is part of Cygwin.
This software is a copyrighted work licensed under the terms of the
Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */
#include "woutsup.h"
wincapc wincap;
void
wincapc::init ()
{
memset (&version, 0, sizeof version);
/* Request simple version info. */
version.dwOSVersionInfoSize = sizeof (OSVERSIONINFO);
GetVersionEx (&version);
}
|