comparison dwcompat.h @ 1715:e6b139e0b64d

Define O_BINARY as 0 in dwcompat.h for platforms which don't have it.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 08 May 2012 17:14:40 +0000
parents b217cf9161c7
children 22225eb286e5
comparison
equal deleted inserted replaced
1714:df5f0857f765 1715:e6b139e0b64d
382 /* If dwstat didn't otherwise get defined */ 382 /* If dwstat didn't otherwise get defined */
383 #ifndef dwstat 383 #ifndef dwstat
384 #define dwstat stat 384 #define dwstat stat
385 #endif 385 #endif
386 386
387 /* Make sure O_BINARY is defined */
388 #ifndef O_BINARY
389 #define O_BINARY 0
390 #endif
391
387 #if defined(__IBMC__) || defined(__WATCOMC__) || (defined(__WIN32__) && !defined(__CYGWIN32__) && _MSC_VER < 1400) 392 #if defined(__IBMC__) || defined(__WATCOMC__) || (defined(__WIN32__) && !defined(__CYGWIN32__) && _MSC_VER < 1400)
388 #undef mkdir 393 #undef mkdir
389 #define mkdir(a,b) mkdir(a) 394 #define mkdir(a,b) mkdir(a)
390 #endif 395 #endif
391 396