No. You gave an answer to a question Incongruous did not ask.
Unfortunately, your answer could confuse newcomers searching this ML.

Read Incongruous' post again. It said "I would like to test for MinGW64 to
include or exclude some code..."

I think LRN, Ruben, and the FAQ provided the correct answers.


On Wed, Oct 16, 2013 at 5:26 PM, Edscott Wilson <
[email protected]> wrote:

> If you use gnu autotools it's really simple. Just put something like this
> into configure.ac
>
> AC_CHECK_HEADERS(windows.h)
>
> And then use
>
> #ifdef HAVE_WINDOWS_H
> do this
> #else
> do that
> #endif
>
>
>
> 2013/10/16 Incongruous <[email protected]>
>
>>   Thanks everyone.
>>
>>  *From:* Incongruous <[email protected]>
>> *Sent:* Tuesday, October 15, 2013 6:06 AM
>> *To:* MinGW-64 Mailinglist <[email protected]>
>> *Subject:* [Mingw-w64-public] to test for MinGW64
>>
>>   I would like to test for MinGW64 to include or exclude some code;
>> something like:
>> #ifdef MinGW64
>> doThis();
>> #endif
>> #ifdef __MSV__
>> doSomthingElse
>> #endif
>>
>> is this possible?
>>
>
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to