diff options
Diffstat (limited to 'winsup/cygwin/perprocess.h')
-rw-r--r-- | winsup/cygwin/perprocess.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/winsup/cygwin/perprocess.h b/winsup/cygwin/perprocess.h index a649ece74..c0a555983 100644 --- a/winsup/cygwin/perprocess.h +++ b/winsup/cygwin/perprocess.h @@ -1,6 +1,6 @@ /* per_process.h: main Cygwin header file. - Copyright 2000 Red Hat, Inc. + Copyright 2000, 2001 Red Hat, Inc. This file is part of Cygwin. @@ -10,11 +10,19 @@ details. */ #include <sys/cygwin.h> +#ifdef __cplusplus +extern "C" { +#endif + /* Pointer into application's static data */ -extern "C" per_process __cygwin_user_data; +extern struct per_process __cygwin_user_data; #define user_data (&__cygwin_user_data) /* We use the following to test that sizeof hasn't changed. When adding or deleting members, insert fillers or use the reserved entries. Do not change this value. */ #define SIZEOF_PER_PROCESS (42 * 4) + +#ifdef __cplusplus +} +#endif |