tinycc-devel
[Top][All Lists]
Advanced

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

Re: [Tinycc-devel] __has_include() ?


From: Ziyao
Subject: Re: [Tinycc-devel] __has_include() ?
Date: Thu, 20 Apr 2023 17:30:59 +0800

On 2023-04-20 03:41, Bernhard Reutner-Fischer wrote:
I don't think we have it yet, do we?
Thoughts? Any takers?

We do have it already.

#if __has_include("/dev/null") && !__has_include("StRanGeNamE")
#define a
#endif

int main()
{
        a
        return 0;
}

could be compiled and run without an error.

Grepping the commit log also proves that.

--
Ziyao



reply via email to

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