Changeset 5 in libcf for trunk/include/cf_file.h


Ignore:
Timestamp:
01/30/13 13:12:40 (11 years ago)
Author:
cheese
Message:

#1 add windows project and fix build compatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/cf_file.h

    r4 r5  
    77#include "cf_base.h"
    88#include <fcntl.h>
    9 
    10 #ifdef _WIN32
    11 # define O_RDONLY       _O_RDONLY   | _O_BINARY
    12 # define O_WRONLY       _O_WRONLY   | _O_BINARY
    13 # define O_RDWR         _O_RDWR     | _O_BINARY
    14 # define O_APPEND       _O_APPEND   | _O_BINARY
    15 # define O_CREAT        _O_CREAT    | _O_BINARY
    16 # define O_TRUNC        _O_TRUNC
    17 #endif // #ifdef _WIN32
    189
    1910#define CF_ERROR_FILE                   CF_ERROR_BASE * 2
Note: See TracChangeset for help on using the changeset viewer.