build-mac/curl/curlver.h
changeset 340 ff99a398d872
child 531 a7cc26cc39f2
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/build-mac/curl/curlver.h	Mon Aug 24 17:23:37 2015 +0200
     1.3 @@ -0,0 +1,77 @@
     1.4 +#ifndef __CURL_CURLVER_H
     1.5 +#define __CURL_CURLVER_H
     1.6 +/***************************************************************************
     1.7 + *                                  _   _ ____  _
     1.8 + *  Project                     ___| | | |  _ \| |
     1.9 + *                             / __| | | | |_) | |
    1.10 + *                            | (__| |_| |  _ <| |___
    1.11 + *                             \___|\___/|_| \_\_____|
    1.12 + *
    1.13 + * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
    1.14 + *
    1.15 + * This software is licensed as described in the file COPYING, which
    1.16 + * you should have received as part of this distribution. The terms
    1.17 + * are also available at http://curl.haxx.se/docs/copyright.html.
    1.18 + *
    1.19 + * You may opt to use, copy, modify, merge, publish, distribute and/or sell
    1.20 + * copies of the Software, and permit persons to whom the Software is
    1.21 + * furnished to do so, under the terms of the COPYING file.
    1.22 + *
    1.23 + * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
    1.24 + * KIND, either express or implied.
    1.25 + *
    1.26 + ***************************************************************************/
    1.27 +
    1.28 +/* This header file contains nothing but libcurl version info, generated by
    1.29 +   a script at release-time. This was made its own header file in 7.11.2 */
    1.30 +
    1.31 +/* This is the global package copyright */
    1.32 +#define LIBCURL_COPYRIGHT "1996 - 2015 Daniel Stenberg, <daniel@haxx.se>."
    1.33 +
    1.34 +/* This is the version number of the libcurl package from which this header
    1.35 +   file origins: */
    1.36 +#define LIBCURL_VERSION "7.43.0"
    1.37 +
    1.38 +/* The numeric version number is also available "in parts" by using these
    1.39 +   defines: */
    1.40 +#define LIBCURL_VERSION_MAJOR 7
    1.41 +#define LIBCURL_VERSION_MINOR 43
    1.42 +#define LIBCURL_VERSION_PATCH 0
    1.43 +
    1.44 +/* This is the numeric version of the libcurl version number, meant for easier
    1.45 +   parsing and comparions by programs. The LIBCURL_VERSION_NUM define will
    1.46 +   always follow this syntax:
    1.47 +
    1.48 +         0xXXYYZZ
    1.49 +
    1.50 +   Where XX, YY and ZZ are the main version, release and patch numbers in
    1.51 +   hexadecimal (using 8 bits each). All three numbers are always represented
    1.52 +   using two digits.  1.2 would appear as "0x010200" while version 9.11.7
    1.53 +   appears as "0x090b07".
    1.54 +
    1.55 +   This 6-digit (24 bits) hexadecimal number does not show pre-release number,
    1.56 +   and it is always a greater number in a more recent release. It makes
    1.57 +   comparisons with greater than and less than work.
    1.58 +
    1.59 +   Note: This define is the full hex number and _does not_ use the
    1.60 +   CURL_VERSION_BITS() macro since curl's own configure script greps for it
    1.61 +   and needs it to contain the full number.
    1.62 +*/
    1.63 +#define LIBCURL_VERSION_NUM 0x072b00
    1.64 +
    1.65 +/*
    1.66 + * This is the date and time when the full source package was created. The
    1.67 + * timestamp is not stored in git, as the timestamp is properly set in the
    1.68 + * tarballs by the maketgz script.
    1.69 + *
    1.70 + * The format of the date should follow this template:
    1.71 + *
    1.72 + * "Mon Feb 12 11:35:33 UTC 2007"
    1.73 + */
    1.74 +#define LIBCURL_TIMESTAMP "Wed Jun 17 05:56:00 UTC 2015"
    1.75 +
    1.76 +#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|z)
    1.77 +#define CURL_AT_LEAST_VERSION(x,y,z) \
    1.78 +  (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))
    1.79 +
    1.80 +#endif /* __CURL_CURLVER_H */