Ignore:
Timestamp:
31/08/2006 23:26:54 (6 years ago)
Author:
chris
Message:

Disable intercept tests on Win32 as well

Define O_BINARY to 0 (zero) if our platform doesn't have it (all except
Win32?) which enables us to reduce #ifdefs

(refs #3)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • box/chris/merge/lib/common/BoxPlatform.h

    r884 r885  
    4141#endif 
    4242 
    43 // Slight hack; disable interception on Darwin within raidfile test 
    44 #ifdef __APPLE__ 
     43// Slight hack; disable interception in raidfile test on Darwin and Windows 
     44#if defined __APPLE__ || defined WIN32 
    4545        // TODO: Replace with autoconf test 
    4646        #define PLATFORM_CLIB_FNS_INTERCEPTION_IMPOSSIBLE 
     
    139139#endif 
    140140 
     141// for Unix compatibility with Windows :-) 
     142#if !HAVE_DECL_O_BINARY 
     143        #define O_BINARY 0 
     144#endif 
     145 
    141146#ifdef WIN32 
    142147        typedef u_int64_t InodeRefType; 
Note: See TracChangeset for help on using the changeset viewer.