aboutsummaryrefslogtreecommitdiff
path: root/tcc.h
diff options
context:
space:
mode:
Diffstat (limited to 'tcc.h')
-rw-r--r--tcc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tcc.h b/tcc.h
index 8a0d2cd..1488c26 100644
--- a/tcc.h
+++ b/tcc.h
@@ -72,6 +72,9 @@
# pragma warning (disable : 4018) // signed/unsigned mismatch
# pragma warning (disable : 4146) // unary minus operator applied to unsigned type, result still unsigned
# define ssize_t intptr_t
+# define __attribute__(x) __declspec x
+# define aligned align
+# else
# endif
# undef CONFIG_TCC_STATIC
#endif