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

トップ ページ
このメッセージを削除
著者: Craig Silverstein
日付:  
To: bob_rossi
CC: pcre-dev
題目: 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