Re: [pcre-dev] 7.4-RC1 test release (doesn't build)

Startseite
Nachricht löschen
Autor: Craig Silverstein
Datum:  
To: bob_rossi
CC: pcre-dev
Betreff: Re: [pcre-dev] 7.4-RC1 test release (doesn't build)
} There are 2 solutions we can take. We can use the __GCC__ symbol to
} say, "don't do this if it's gcc" or we can use _MSC_VER to say,
} "only do this if we are visual studio cl".

I think the right solution is to say '#ifdef HAVE_WINDOWS_H'. If
you're using windows.h, you're going to get the _snprintf/etc
definitions.

craig