[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tinycc-devel] tcc compilation on MSYS2
From: |
Sergey Korshunoff |
Subject: |
Re: [Tinycc-devel] tcc compilation on MSYS2 |
Date: |
Wed, 18 May 2016 07:31:06 +0300 |
> However, since the
> preprocessing is being done by tcc the __CYGWIN__ macro is not defined
> and I can't figure out where that would go.
iff --git a/libtcc.c b/libtcc.c
index 7d9a058..a5ec7f3 100644
--- a/libtcc.c
+++ b/libtcc.c
@@ -1170,6 +1170,8 @@ LIBTCCAPI TCCState *tcc_new(void)
# ifdef TCC_TARGET_X86_64
tcc_define_symbol(s, "_WIN64", NULL);
# endif
+#elif defined(__CYGWIN__)
+ tcc_define_symbol(s, "__CYGWIN__", NULL);
#else
tcc_define_symbol(s, "__unix__", NULL);
tcc_define_symbol(s, "__unix", NULL);
111.diff
Description: Text document
- Re: [Tinycc-devel] tcc compilation on MSYS2, (continued)
Re: [Tinycc-devel] tcc compilation on MSYS2, David Mertens, 2016/05/14
- Re: [Tinycc-devel] tcc compilation on MSYS2, Chris Marshall, 2016/05/14
- Re: [Tinycc-devel] tcc compilation on MSYS2, Chris Marshall, 2016/05/17
- Re: [Tinycc-devel] tcc compilation on MSYS2, Chris Marshall, 2016/05/17
- Re: [Tinycc-devel] tcc compilation on MSYS2,
Sergey Korshunoff <=
- Re: [Tinycc-devel] tcc compilation on MSYS2, avih, 2016/05/18
- Re: [Tinycc-devel] tcc compilation on MSYS2, avih, 2016/05/18
- Re: [Tinycc-devel] tcc compilation on MSYS2, Chris Marshall, 2016/05/19
- Re: [Tinycc-devel] tcc compilation on MSYS2, Chris Marshall, 2016/05/19
- Re: [Tinycc-devel] tcc compilation on MSYS2, Chris Marshall, 2016/05/19
- Re: [Tinycc-devel] tcc compilation on MSYS2, David Mertens, 2016/05/19