* include/cygwin/stat.h (S_TYPEISMQ): Define.
(S_TYPEISSEM): Dttio. (S_TYPEISSHM): Ditto.
This commit is contained in:
@@ -88,6 +88,13 @@ struct stat
|
||||
#define st_birthtime st_birthtim.tv_sec
|
||||
#endif
|
||||
|
||||
/* POSIX IPC objects are not implemented as distinct file types, so the
|
||||
below macros have to return 0. The expression is supposed to catch
|
||||
illegal usage with non-stat parameters. */
|
||||
#define S_TYPEISMQ(buf) ((buf)->st_mode,0)
|
||||
#define S_TYPEISSEM(buf) ((buf)->st_mode,0)
|
||||
#define S_TYPEISSHM(buf) ((buf)->st_mode,0)
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user