Mercurial > hg > xemacs-beta
comparison src/database.c @ 2493:ec25549f1f43
[xemacs-hg @ 2005-01-21 09:58:40 by aidan]
Small warning fix for NetBSD, w.r.t. u_int_8_t being redefined.
author | aidan |
---|---|
date | Fri, 21 Jan 2005 09:58:42 +0000 |
parents | 04bc9d2f42c7 |
children | bd98c3f9e578 |
comparison
equal
deleted
inserted
replaced
2492:6780963faf78 | 2493:ec25549f1f43 |
---|---|
45 /* glibc 2.1 doesn't have this problem with DB 2.x */ | 45 /* glibc 2.1 doesn't have this problem with DB 2.x */ |
46 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) | 46 #if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) |
47 #ifdef HAVE_INTTYPES_H | 47 #ifdef HAVE_INTTYPES_H |
48 #define __BIT_TYPES_DEFINED__ | 48 #define __BIT_TYPES_DEFINED__ |
49 #include <inttypes.h> | 49 #include <inttypes.h> |
50 #ifndef __FreeBSD__ | 50 ##if !defined(__FreeBSD__) && !defined(__NetBSD__) |
51 typedef uint8_t u_int8_t; | 51 typedef uint8_t u_int8_t; |
52 typedef uint16_t u_int16_t; | 52 typedef uint16_t u_int16_t; |
53 typedef uint32_t u_int32_t; | 53 typedef uint32_t u_int32_t; |
54 #ifdef WE_DONT_NEED_QUADS | 54 #ifdef WE_DONT_NEED_QUADS |
55 typedef uint64_t u_int64_t; | 55 typedef uint64_t u_int64_t; |