aboutsummaryrefslogtreecommitdiff
path: root/stddef.h
diff options
context:
space:
mode:
authorgrischka <grischka>2007-11-21 17:16:31 +0000
committergrischka <grischka>2007-11-21 17:16:31 +0000
commitd778bde7f9683d046f421ac4399fbbdfd9726f98 (patch)
treea2412e5e0aa3ec3c14a0bcc92765660d30b9b83b /stddef.h
parent54bf8c05566a34f4d578ed6d33d6262dc924a703 (diff)
downloadtinycc-d778bde7f9683d046f421ac4399fbbdfd9726f98.tar.gz
tinycc-d778bde7f9683d046f421ac4399fbbdfd9726f98.tar.bz2
Import more changesets from Rob Landley's fork (part 2)
Diffstat (limited to 'stddef.h')
-rw-r--r--stddef.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/stddef.h b/stddef.h
index 89bd7b0..9965f89 100644
--- a/stddef.h
+++ b/stddef.h
@@ -12,10 +12,15 @@ typedef __PTRDIFF_TYPE__ ptrdiff_t;
__GNUC__ ? */
#if !defined(__int8_t_defined) && !defined(__dietlibc__)
#define __int8_t_defined
-typedef char int8_t;
-typedef short int int16_t;
-typedef int int32_t;
+typedef char int8_t;
+typedef short int int16_t;
+typedef int int32_t;
typedef long long int int64_t;
#endif
+#ifdef __i386__
+void *_alloca(size_t);
+#define alloca _alloca
+#endif
+
#endif