include: Add support for stdcall on tcc

André Hentschel nerv at dawncrow.de
Tue Jul 7 13:47:35 CDT 2015


---
 include/windef.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/windef.h b/include/windef.h
index e914726..4692b70 100644
--- a/include/windef.h
+++ b/include/windef.h
@@ -58,6 +58,8 @@ extern "C" {
 #   else
 #    define __stdcall __attribute__((__stdcall__))
 #   endif
+#  elif defined(__TINYC__)
+#    define __stdcall __attribute__((__stdcall__))
 #  elif defined(_MSC_VER)
     /* Nothing needs to be done. __stdcall already exists */
 #  else
-- 
1.9.1





More information about the wine-patches mailing list