aboutsummaryrefslogtreecommitdiff
path: root/win32/include/stdint.h
diff options
context:
space:
mode:
authorgrischka <grischka>2016-05-05 20:04:00 +0200
committergrischka <grischka>2016-05-05 20:04:00 +0200
commitd48662d49650099e5ab9e1fe218311a18c2ff73a (patch)
tree4af92eb69304fdef3e48c6ddb1a8972df80f0855 /win32/include/stdint.h
parentfe845cf53da206bb28f6b49a0878b0118b4f242b (diff)
downloadtinycc-d48662d49650099e5ab9e1fe218311a18c2ff73a.tar.gz
tinycc-d48662d49650099e5ab9e1fe218311a18c2ff73a.tar.bz2
tccgen: scopes levels for local symbols (update 1)
Catch top level redeclarations too. Also fix mistakes in tcctest.c and the tcc sources (win32) showing up now.
Diffstat (limited to 'win32/include/stdint.h')
-rw-r--r--win32/include/stdint.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/win32/include/stdint.h b/win32/include/stdint.h
index 1f81fcc..cdebf44 100644
--- a/win32/include/stdint.h
+++ b/win32/include/stdint.h
@@ -31,6 +31,8 @@
#define __need_wchar_t
#include "stddef.h"
+#ifndef __int8_t_defined
+#define __int8_t_defined
/* 7.18.1.1 Exact-width integer types */
typedef signed char int8_t;
typedef unsigned char uint8_t;
@@ -40,6 +42,7 @@ typedef int int32_t;
typedef unsigned uint32_t;
typedef long long int64_t;
typedef unsigned long long uint64_t;
+#endif
/* 7.18.1.2 Minimum-width integer types */
typedef signed char int_least8_t;