tool_setup.h
Go to the documentation of this file.
00001 #ifndef HEADER_CURL_TOOL_SETUP_H
00002 #define HEADER_CURL_TOOL_SETUP_H
00003 /***************************************************************************
00004  *                                  _   _ ____  _
00005  *  Project                     ___| | | |  _ \| |
00006  *                             / __| | | | |_) | |
00007  *                            | (__| |_| |  _ <| |___
00008  *                             \___|\___/|_| \_\_____|
00009  *
00010  * Copyright (C) 1998 - 2014, Daniel Stenberg, <daniel@haxx.se>, et al.
00011  *
00012  * This software is licensed as described in the file COPYING, which
00013  * you should have received as part of this distribution. The terms
00014  * are also available at https://curl.haxx.se/docs/copyright.html.
00015  *
00016  * You may opt to use, copy, modify, merge, publish, distribute and/or sell
00017  * copies of the Software, and permit persons to whom the Software is
00018  * furnished to do so, under the terms of the COPYING file.
00019  *
00020  * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
00021  * KIND, either express or implied.
00022  *
00023  ***************************************************************************/
00024 
00025 #define CURL_NO_OLDIES
00026 
00027 /*
00028  * curl_setup.h may define preprocessor macros such as _FILE_OFFSET_BITS and
00029  * _LARGE_FILES in order to support files larger than 2 GB. On platforms
00030  * where this happens it is mandatory that these macros are defined before
00031  * any system header file is included, otherwise file handling function
00032  * prototypes will be misdeclared and curl tool may not build properly;
00033  * therefore we must include curl_setup.h before curl.h when building curl.
00034  */
00035 
00036 #include "curl_setup.h" /* from the lib directory */
00037 
00038 /*
00039  * curl tool certainly uses libcurl's external interface.
00040  */
00041 
00042 #include <curl/curl.h> /* external interface */
00043 
00044 /*
00045  * Platform specific stuff.
00046  */
00047 
00048 #if defined(macintosh) && defined(__MRC__)
00049 #  define main(x,y) curl_main(x,y)
00050 #endif
00051 
00052 #ifdef TPF
00053 #  undef select
00054    /* change which select is used for the curl command line tool */
00055 #  define select(a,b,c,d,e) tpf_select_bsd(a,b,c,d,e)
00056    /* and turn off the progress meter */
00057 #  define CONF_DEFAULT (0|CONF_NOPROGRESS)
00058 #endif
00059 
00060 #ifndef OS
00061 #  define OS "unknown"
00062 #endif
00063 
00064 #ifndef UNPRINTABLE_CHAR
00065    /* define what to use for unprintable characters */
00066 #  define UNPRINTABLE_CHAR '.'
00067 #endif
00068 
00069 #ifndef HAVE_STRDUP
00070 #  include "tool_strdup.h"
00071 #endif
00072 
00073 #endif /* HEADER_CURL_TOOL_SETUP_H */
00074 


rc_visard_driver
Author(s): Heiko Hirschmueller , Christian Emmerich , Felix Ruess
autogenerated on Thu Jun 6 2019 20:43:07