Changeset 4454

Show
Ignore:
Timestamp:
06/04/09 15:03:03 (5 years ago)
Author:
piers
Message:

Added another check for HAVE_STDINT_H when trying to compile with mingw

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • common/trunk/src/config_win32.h

    r4412 r4454  
    9090 * be adjusted for 16- or 64-bit architectures 
    9191 */ 
     92 
     93#ifdef HAVE_STDINT_H 
     94#include <stdint.h> 
     95#else 
    9296typedef unsigned __int8         uint8_t; 
    9397typedef unsigned __int16        uint16_t; 
     
    98102typedef __int32         int32_t; 
    99103typedef __int64         int64_t; 
     104typedef int                     ssize_t; 
     105#endif 
     106 
    100107typedef unsigned long   in_addr_t; 
    101108 
     
    138145 
    139146typedef char    *caddr_t; 
    140 typedef int     ssize_t; 
    141147 
    142148typedef struct iovec { 
     
    197203#define strncasecmp _strnicmp 
    198204 
     205#ifndef RegGetValue 
    199206int  RegGetValue(HKEY *, char *, char*, char*, int); 
     207#endif 
     208 
    200209void ShowMessage(int level, char *msg); 
    201210