From 35311b22b92475a3a0ac65b13e0fce6ed85b060b Mon Sep 17 00:00:00 2001 From: Marcel Raad Date: Mon, 1 May 2017 21:51:02 +0200 Subject: anyauthput: remove unused code The definition of TRUE was introduced in 4a728747e6f8845e500910e397dfc99aaf4a7984 and is not used anymore since e664cd5826d43930fcc5b5dbaedbec94af33184b. The usage of intptr_t was removed in 32e38b8f42477cf5ce3c3fef2fcc9db82f7fb7be. --- docs/examples/anyauthput.c | 24 ------------------------ 1 file changed, 24 deletions(-) (limited to 'docs/examples') diff --git a/docs/examples/anyauthput.c b/docs/examples/anyauthput.c index 1c9f965d5..243a367a8 100644 --- a/docs/examples/anyauthput.c +++ b/docs/examples/anyauthput.c @@ -29,41 +29,17 @@ #ifdef WIN32 # include #else -# ifdef __VMS - typedef int intptr_t; -# endif -# if !defined(_AIX) && !defined(__sgi) && !defined(__osf__) -# include -# endif # include #endif #include #include -#ifdef _MSC_VER -# ifdef _WIN64 - typedef __int64 intptr_t; -# else - typedef int intptr_t; -# endif -#endif - #include #if LIBCURL_VERSION_NUM < 0x070c03 #error "upgrade your libcurl to no less than 7.12.3" #endif -#ifndef TRUE -#define TRUE 1 -#endif - -#if defined(_AIX) || defined(__sgi) || defined(__osf__) -#ifndef intptr_t -#define intptr_t long -#endif -#endif - /* * This example shows a HTTP PUT operation with authentiction using "any" * type. It PUTs a file given as a command line argument to the URL also given -- cgit v1.2.3