[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: detecting windows
From: |
Keith Marshall |
Subject: |
Re: detecting windows |
Date: |
Fri, 03 Feb 2012 14:08:53 +0000 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.24) Gecko/20111108 Thunderbird/3.1.16 |
On 03/02/12 10:20, Werner LEMBERG wrote:
>
> Thanks for the answers, Vincent and Peter!
>
>> You do as you do with whatever else you are requiring. Check if
>> #include <windows.h> is there, and check if you can link with some
>> API of your choice. [...]
>
> I would have expected something like this as a ready-to-run macro in
> the autoconf-macro archive, but surprisingly there is nothing as far
> as I can see.
There are some MINGW_AC... macros, which we sort of maintain informally
via the mingw-users ML. To check for windows, I normally check for GCC
defining _WIN32, (which it always does when compiling for the native
platform, whether 32-bit or 64-bit).
I'll dig out the MINGW_AC... "standard" macro I use, and post it later.
--
Regards,
Keith.
- detecting windows, Werner LEMBERG, 2012/02/03
- Re: detecting windows, Olaf Lenz, 2012/02/03
- Re: detecting windows, Werner LEMBERG, 2012/02/03
- Re: detecting windows, Peter Rosin, 2012/02/03
- Re: detecting windows, Vincent Torri, 2012/02/03
- Re: detecting windows, Werner LEMBERG, 2012/02/03
- Re: detecting windows,
Keith Marshall <=
- Re: detecting windows, Keith Marshall, 2012/02/03
- Re: detecting windows, Werner LEMBERG, 2012/02/04