Date: Thu, 13 Feb 1997 18:09:27 -0500 Message-Id: <199702132309.SAA08852@delorie.com> From: DJ Delorie To: Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl CC: djgpp AT delorie DOT com In-reply-to: (Jerzy DOT Witkowski AT ii DOT uni DOT wroc DOT pl) Subject: Re: Missing declarations in `sys/stat.h' > link, S_IFLNK). Below is a brief list of missing symbols. I > think that at least some of them should be defined in DJGPP, just > for compatibility reasons. > > _ST_FSTYPSZ S_IAMB S_IFNAM S_INSEM S_INSHD S_IFLNK S_IFSOCK > S_IFDOOR S_ISVTX S_IREAD S_IWRITE S_IEXEC S_ENFMT S_ISLNK S_ISSOCK > S_ISDOOR S_TYPEISMQ S_TYPEISSEM S_TYPEISSHM Many programs use #ifdef of these to detect if the operating system supports them. MS-DOS does not support those (some that you list *are* in djgpp). If we define them, the programs will act as if MS-DOS supported them, and they will break. If you find a symbol that ANSI or POSIX requires, and djgpp does not have it, I'll fix it. Other than that, I'd rather leave them out if they're not dos-able.