X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=rmac.h;h=6ce90c09e38fb94bb9418d0ea1aad74db9122a2a;hb=023e78877559bf69f8879f4aa614cd1acfbff932;hp=039d187c139f5e711c2ebae7708083cedb09060f;hpb=cbc8347d4ffea164ca05b03e4e3be39945be8777;p=rmac diff --git a/rmac.h b/rmac.h index 039d187..6ce90c0 100644 --- a/rmac.h +++ b/rmac.h @@ -27,6 +27,7 @@ #define _OPEN_FLAGS _O_TRUNC|_O_CREAT|_O_BINARY|_O_RDWR #define _OPEN_INC _O_RDONLY|_O_BINARY #define _PERM_MODE _S_IREAD|_S_IWRITE + #define PATH_SEPS ";" #ifdef _MSC_VER #if _MSC_VER > 1000 @@ -64,6 +65,7 @@ #define _OPEN_FLAGS O_TRUNC|O_CREAT|O_RDWR #define _OPEN_INC O_RDONLY #define _PERM_MODE S_IRUSR|S_IWUSR + #define PATH_SEPS ";:" #ifdef __MINGW32__ #define off64_t long @@ -86,6 +88,7 @@ #define _OPEN_FLAGS O_TRUNC|O_CREAT|O_RDWR #define _OPEN_INC O_RDONLY #define _PERM_MODE S_IREAD|S_IWRITE + #define PATH_SEPS ":;" // Defined here, even though the platform may not support it... #define DO_PRAGMA(x) _Pragma (#x) #define WARNING(desc) DO_PRAGMA(message (#desc))