Ignore:
Timestamp:
2012-02-28T10:44:33+13:00 (12 years ago)
Author:
sjm84
Message:

(Hopefully) fixed stdint.h issues for windows for GDBM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/common-src/packages/gdbm/gdbm-1.8.3/gdbmdefs.h

    r25137 r25146  
    3333   The following ensures that we use the same for all systems, and so lets
    3434   GDBM read the same database files */
     35#ifdef _unix_
    3536#include <stdint.h>
     37#else
     38typedef __int8            int8_t;
     39typedef __int16           int16_t;
     40typedef __int32           int32_t;
     41typedef __int64           int64_t;
     42typedef unsigned __int8   uint8_t;
     43typedef unsigned __int16  uint16_t;
     44typedef unsigned __int32  uint32_t;
     45typedef unsigned __int64  uint64_t;
     46#endif
    3647#undef off_t
    3748#define off_t int32_t
Note: See TracChangeset for help on using the changeset viewer.