Hi Max,
Max Bowsher wrote:
John Williams wrote:
Elfyn McBratney wrote:
You could use this
#if defined(__GNUC__) && defined(__CYGWIN__)
So __CYGWIN__ is defined in the preprocessor environment when compiling
under Cygwin? That's precisely what I'm after, thanks.
General answer to this kind of
John Williams wrote:
> Elfyn McBratney wrote:
>> You could use this
>>
>> #if defined(__GNUC__) && defined(__CYGWIN__)
>
> So __CYGWIN__ is defined in the preprocessor environment when compiling
> under Cygwin? That's precisely what I'm after, thanks.
General answer to this kind of question:
$
Elfyn McBratney wrote:
You could use this
#if defined(__GNUC__) && defined(__CYGWIN__)
So __CYGWIN__ is defined in the preprocessor environment when compiling
under Cygwin? That's precisely what I'm after, thanks.
John
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug re
> Is there a macro defined in gcc when running under Cygwin as opposed to,
> say, linux?
Not too sure, All I could find was GCC_VERSION , __GNUC__ and IN_GCC .
> I'd like to code something like
>
> #ifdef _GCC_UNDER_CYGWIN
> blah blah
> #else
> blah blah
> #endif
You could use this
#if define
Hi folks,
Is there a macro defined in gcc when running under Cygwin as opposed to,
say, linux?
I'd like to code something like
#ifdef _GCC_UNDER_CYGWIN
blah blah
#else
blah blah
#endif
This is to get around the fact that Cygwin doesn't provide the libgen.h
header file, which I need to build uC
5 matches
Mail list logo