mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
Define "uint" if __FreeBSD__ >= 3.
This commit is contained in:
parent
31b6f12ee2
commit
b2f6d31bf7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=6277
@ -222,7 +222,7 @@
|
||||
/* uchar should be 8 bits or more */
|
||||
/* typedef unsigned char uchar; -- already in zoo.h */
|
||||
|
||||
+ #if !defined(__FreeBSD__) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||
+ #if !(defined(__FreeBSD__) && __FreeBSD__ < 3) && !defined(__OpenBSD__) && !defined(__NetBSD__)
|
||||
typedef unsigned int uint; /* 16 bits or more */
|
||||
#if !defined(__386BSD__) || !defined(_TYPES_H_)
|
||||
typedef unsigned short ushort; /* 16 bits or more */
|
||||
|
Loading…
Reference in New Issue
Block a user