aboutsummaryrefslogtreecommitdiffstats
path: root/src/arch/x86_64
diff options
context:
space:
mode:
authorJoshua Oreman <oremanj@rwcr.net>2009-03-31 07:20:11 +0100
committerMichael Brown <mcb30@etherboot.org>2009-03-31 07:21:07 +0100
commit820b11dc0ae315a33bbf0cd2cca91ca592e280a3 (patch)
treef61a4a765fc0e060385ebaf9d1257b095e0248e2 /src/arch/x86_64
parent210bc9e9babeae420e8542eecafc3d4a32ba0588 (diff)
downloadipxe-820b11dc0ae315a33bbf0cd2cca91ca592e280a3.tar.gz
[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>
Diffstat (limited to 'src/arch/x86_64')
-rw-r--r--src/arch/x86_64/include/bits/stdint.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/arch/x86_64/include/bits/stdint.h b/src/arch/x86_64/include/bits/stdint.h
index 23bae9c4..9eb72e9c 100644
--- a/src/arch/x86_64/include/bits/stdint.h
+++ b/src/arch/x86_64/include/bits/stdint.h
@@ -1,7 +1,7 @@
#ifndef _BITS_STDINT_H
#define _BITS_STDINT_H
-typedef unsigned long size_t;
+typedef __SIZE_TYPE__ size_t;
typedef signed long ssize_t;
typedef signed long off_t;