This Trac instance is not used for development anymore!

We migrated our development workflow to git and Gitea.
To test the future redirection, replace trac by ariadne in the page URL.

Changeset 9581 for ps


Ignore:
Timestamp:
05/30/11 23:49:33 (14 years ago)
Author:
Jan Wassenberg
Message:

OS X compile fix (hopefully): add definition for O_DIRECT

Location:
ps/trunk/source/lib/sysdep
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ps/trunk/source/lib/sysdep/filesystem.h

    r9550 r9581  
    6262//
    6363
     64// transfer directly to/from user's buffer.
     65// treated as a request to enable aio.
     66#ifndef O_DIRECT    // i.e. Windows or OS X
     67#define O_DIRECT 0x10000000 // (value does not conflict with any current Win32 _O_* flags.)
     68#endif
     69
    6470// Win32 _wsopen_s does not open files in a manner compatible with waio.
    6571// if its aio_read/aio_write are to be used, waio_open must (also) be called.
  • ps/trunk/source/lib/sysdep/os/win/wposix/wfilesystem.h

    r9550 r9581  
    5555
    5656//
    57 // <fcntl.h>
    58 
    59 // transfer directly to/from user's buffer.
    60 // treated as a request to enable aio (see filesystem.h).
    61 // value does not conflict with any current Win32 _O_* flags.
    62 #define O_DIRECT 0x10000000
    63 
    64 
    65 //
    6657// <unistd.h>
    6758//
Note: See TracChangeset for help on using the changeset viewer.