Bob Friesenhahn <bfriesen@xxxxxxxxxxxxxxxxxxx> writes: > On Thu, 27 Jul 2006, Ed Hartnett wrote: >> >> Here's what I had to add to get my code to build. I would prefer if >> autoconf could add this to config.h, for example: >> >> /* These are needed on mingw to get a dll to compile. They really >> * should be provided in sys/stats.h, but what the heck. Let's not be >> * too picky! */ >> #ifndef S_IRGRP >> #define S_IRGRP 0000040 >> #endif >> #ifndef S_IROTH >> #define S_IROTH 0000004 >> #endif >> #ifndef S_IWGRP >> #define S_IWGRP 0000020 >> #endif >> #ifndef S_IWOTH >> #define S_IWOTH 0000002 >> #endif > > As Keith says, these make no sense for Windows. Since these values > are usually ORed, a simple solution is to use code as you show above > but define them all to have the value zero. This allows existing Unix > code to compile without being hacked up. Thanks, I will do as you suggest. Ed -- Ed Hartnett -- ed@xxxxxxxxxxxxxxxx _______________________________________________ Autoconf mailing list Autoconf@xxxxxxx http://lists.gnu.org/mailman/listinfo/autoconf