mirror of
https://github.com/ipxe/ipxe
synced 2025-12-26 09:32:33 +03:00
[build] Use __SIZE_TYPE__ macro in definition of size_t
This is required in order to build on Mac OS X. Modified-by: Michael Brown <mcb30@etherboot.org> Signed-off-by: Michael Brown <mcb30@etherboot.org>
This commit is contained in:
committed by
Michael Brown
parent
210bc9e9ba
commit
820b11dc0a
@@ -1,8 +1,8 @@
|
||||
#ifndef _BITS_STDINT_H
|
||||
#define _BITS_STDINT_H
|
||||
|
||||
typedef unsigned int size_t;
|
||||
typedef signed int ssize_t;
|
||||
typedef __SIZE_TYPE__ size_t;
|
||||
typedef signed long ssize_t;
|
||||
typedef signed long off_t;
|
||||
|
||||
typedef unsigned char uint8_t;
|
||||
|
||||
Reference in New Issue
Block a user