summaryrefslogtreecommitdiff
path: root/tool/patches/_types.diff
diff options
context:
space:
mode:
authorJay Freeman <saurik@saurik.com>2008-11-13 07:42:26 +0000
committerJay Freeman <saurik@saurik.com>2008-11-13 07:42:26 +0000
commitadb46b26333926673ec32a470b5c3170f8413539 (patch)
tree5177e3e7481681a85c09247bc32faa767a9799a9 /tool/patches/_types.diff
parent4645513d2c637848f51fb82c4f1217a3fc3c818e (diff)
Fixed OpenGLES includes for Cocoa and dealt with Apple's int16_t typo.
git-svn-id: http://svn.telesphoreo.org/trunk@498 514c082c-b64e-11dc-b46d-3d985efe055d
Diffstat (limited to 'tool/patches/_types.diff')
-rw-r--r--tool/patches/_types.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/tool/patches/_types.diff b/tool/patches/_types.diff
new file mode 100644
index 000000000..db34e88ed
--- /dev/null
+++ b/tool/patches/_types.diff
@@ -0,0 +1,13 @@
+diff --git /usr/include/arm/_types.h /usr/include/arm/_types.h
+index 4817457..30c9891 100644
+--- /usr/include/arm/_types.h
++++ /usr/include/arm/_types.h
+@@ -15,7 +15,7 @@ typedef __signed char __int8_t;
+ typedef char __int8_t;
+ #endif /* !__GNUC__ */
+ typedef unsigned char __uint8_t;
+-typedef unsigned short __int16_t;
++typedef short __int16_t;
+ typedef unsigned short __uint16_t;
+ typedef int __int32_t;
+ typedef unsigned int __uint32_t;