OSDN Git Service

gas/opcodes: blackfin: move dsp mac func defines to common header
[pf3gnuchains/sourceware.git] / winsup / cygwin / cygwin_version.h
1 /* cygwin_version.h: shared info for cygwin
2
3    Copyright 2000, 2001 Red Hat, Inc.
4
5 This file is part of Cygwin.
6
7 This software is a copyrighted work licensed under the terms of the
8 Cygwin license.  Please consult the file "CYGWIN_LICENSE" for
9 details. */
10
11 #include <cygwin/version.h>
12
13 extern "C" {
14 /* This is for programs that want to access the shared data. */
15 class shared_info *cygwin_getshared (void);
16
17 struct cygwin_version_info
18 {
19   unsigned short api_major;
20   unsigned short api_minor;
21   unsigned short dll_major;
22   unsigned short dll_minor;
23   unsigned short shared_data;
24   unsigned short mount_registry;
25   const char *dll_build_date;
26   char shared_id[sizeof (CYGWIN_VERSION_DLL_IDENTIFIER) + 64];
27 };
28
29 extern cygwin_version_info cygwin_version;
30 extern const char *cygwin_version_strings;
31 }