tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Tinycc-devel] Check if compiler is TCC


From: Javier San Juan Cervera
Subject: Re: [Tinycc-devel] Check if compiler is TCC
Date: Tue, 9 Jul 2013 17:36:38 +0200

This is perfect! Thank you very much!


2013/7/9 Stephan Beal <address@hidden>
On Tue, Jul 9, 2013 at 5:21 PM, Javier San Juan Cervera <address@hidden> wrote:
I have a project that I am building with different compilers, and I need to identify the compiler within the source to do different things.

Does TCC define a macro so I can do something like the following?:

#ifdef TCC
// TCC ony code...
#endif

You might find this helpful:


per that page, __TINYC__ is what you're looking for.
 

--
----- stephan beal
http://wanderinghorse.net/home/stephan/

_______________________________________________
Tinycc-devel mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/tinycc-devel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]