OSDN Git Service

* include/cygwin/types.h: Move #include <sys/sysmacros.h> to
authoryselkowitz <yselkowitz>
Tue, 5 Apr 2011 00:53:17 +0000 (00:53 +0000)
committeryselkowitz <yselkowitz>
Tue, 5 Apr 2011 00:53:17 +0000 (00:53 +0000)
commit4ba70e77d4d456a6b711d5485914d024e019ea02
tree617c366d8d2e678c917ea3be90ec96aa33b384d8
parentab2d8df0d2d89802142ede5bcba4f96f49fcaf30
* include/cygwin/types.h: Move #include <sys/sysmacros.h> to
end of header so that it gets the dev_t typedef.
* include/sys/sysmacros.h (gnu_dev_major, gnu_dev_minor,
gnu_dev_makedev): Prototype and define as inline functions.
(major, minor, makedev): Redefine in terms of gnu_dev_*.
winsup/cygwin/ChangeLog
winsup/cygwin/include/cygwin/types.h
winsup/cygwin/include/sys/sysmacros.h