summaryrefslogtreecommitdiff
path: root/docs/examples/anyauthput.c
diff options
context:
space:
mode:
Diffstat (limited to 'docs/examples/anyauthput.c')
-rw-r--r--docs/examples/anyauthput.c24
1 files changed, 0 insertions, 24 deletions
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 <io.h>
#else
-# ifdef __VMS
- typedef int intptr_t;
-# endif
-# if !defined(_AIX) && !defined(__sgi) && !defined(__osf__)
-# include <stdint.h>
-# endif
# include <unistd.h>
#endif
#include <sys/types.h>
#include <sys/stat.h>
-#ifdef _MSC_VER
-# ifdef _WIN64
- typedef __int64 intptr_t;
-# else
- typedef int intptr_t;
-# endif
-#endif
-
#include <curl/curl.h>
#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