diff options
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r-- | winsup/cygwin/include/sys/cygwin.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/cygwin/include/sys/cygwin.h b/winsup/cygwin/include/sys/cygwin.h index 7ba5cda..10fdd93 100644 --- a/winsup/cygwin/include/sys/cygwin.h +++ b/winsup/cygwin/include/sys/cygwin.h @@ -116,8 +116,13 @@ struct per_process add an item. */ DWORD unused2[5]; +#ifdef __INSIDE_CYGWIN__ ResourceLocks *resourcelocks; MTinterface *threadinterface; +#else + void *resourcelocks; + void *threadinterface; +#endif struct _reent *impure_ptr; }; #define per_process_overwrite ((unsigned) &(((struct per_process *) NULL)->resourcelocks)) |