aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/include/sys
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2000-07-07 08:35:31 +0000
committerCorinna Vinschen <corinna@vinschen.de>2000-07-07 08:35:31 +0000
commit52cec10c67d2c8615d7e15f36d93a7079da81f9f (patch)
treeb83d2757c9eaca86384e66378f5eedfc71b71d87 /winsup/cygwin/include/sys
parentf7bbb2994838ae365a21824ffeedf56c019ba668 (diff)
downloadnewlib-52cec10c67d2c8615d7e15f36d93a7079da81f9f.zip
newlib-52cec10c67d2c8615d7e15f36d93a7079da81f9f.tar.gz
newlib-52cec10c67d2c8615d7e15f36d93a7079da81f9f.tar.bz2
* include/sys/cygwin.h: Hide internal data types in per_process
when not __INSIDE_CYGWIN__.
Diffstat (limited to 'winsup/cygwin/include/sys')
-rw-r--r--winsup/cygwin/include/sys/cygwin.h5
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))