Changeset 143 for trunk/include


Ignore:
Timestamp:
02/12/09 22:24:27 (16 years ago)
Author:
tim
Message:

fixed a null pointer exception

removed some dependencies on less portable items

altered Makefiles to allow for MinGW cross compiling

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/regfi.h

    r140 r143  
    5858#define REGFI_MSG_WARN  0x0004
    5959#define REGFI_MSG_ERROR 0x0010
     60
     61/* Windows is lame */
     62#ifdef O_BINARY
     63#define REGFI_OPEN_FLAGS O_RDONLY|O_BINARY
     64#else
     65#define REGFI_OPEN_FLAGS O_RDONLY
     66#endif
    6067
    6168/* Registry data types */
Note: See TracChangeset for help on using the changeset viewer.