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

Página superior
Eliminar este mensaje
Autor: Craig Silverstein
Fecha:  
A: bob_rossi
Cc: pcre-dev
Asunto: 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