From 79ffbf7fe1af3fb3d6a4a1ad31eeaaecb1dbd8e6 Mon Sep 17 00:00:00 2001 From: Yang Tse Date: Sun, 31 Aug 2008 12:12:35 +0000 Subject: MSVC adjustment --- docs/examples/anyauthput.c | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) (limited to 'docs/examples/anyauthput.c') diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c index 41531f7aa..11c9d3c77 100644 --- a/docs/examples/anyauthput.c +++ b/docs/examples/anyauthput.c @@ -9,10 +9,23 @@ */ #include -#include #include +#ifdef WIN32 +# include +#else +# include +# include +#endif +#include #include -#include + +#ifdef _MSC_VER +# ifdef _WIN64 + typedef __int64 intptr_t; +# else + typedef int intptr_t; +# endif +#endif #include -- cgit v1.2.3