build-mac/curl/curlver.h
author Krista Bennett <krista@pep-project.org>
Tue, 02 Oct 2018 13:22:12 +0200
branchENGINE-463
changeset 2964 4f22b5bc7b9a
parent 531 a7cc26cc39f2
permissions -rw-r--r--
Stupid syntax error.
Edouard@340
     1
#ifndef __CURL_CURLVER_H
Edouard@340
     2
#define __CURL_CURLVER_H
Edouard@340
     3
/***************************************************************************
Edouard@340
     4
 *                                  _   _ ____  _
Edouard@340
     5
 *  Project                     ___| | | |  _ \| |
Edouard@340
     6
 *                             / __| | | | |_) | |
Edouard@340
     7
 *                            | (__| |_| |  _ <| |___
Edouard@340
     8
 *                             \___|\___/|_| \_\_____|
Edouard@340
     9
 *
dirk@531
    10
 * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
Edouard@340
    11
 *
Edouard@340
    12
 * This software is licensed as described in the file COPYING, which
Edouard@340
    13
 * you should have received as part of this distribution. The terms
dirk@531
    14
 * are also available at https://curl.haxx.se/docs/copyright.html.
Edouard@340
    15
 *
Edouard@340
    16
 * You may opt to use, copy, modify, merge, publish, distribute and/or sell
Edouard@340
    17
 * copies of the Software, and permit persons to whom the Software is
Edouard@340
    18
 * furnished to do so, under the terms of the COPYING file.
Edouard@340
    19
 *
Edouard@340
    20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
Edouard@340
    21
 * KIND, either express or implied.
Edouard@340
    22
 *
Edouard@340
    23
 ***************************************************************************/
Edouard@340
    24
Edouard@340
    25
/* This header file contains nothing but libcurl version info, generated by
Edouard@340
    26
   a script at release-time. This was made its own header file in 7.11.2 */
Edouard@340
    27
Edouard@340
    28
/* This is the global package copyright */
dirk@531
    29
#define LIBCURL_COPYRIGHT "1996 - 2016 Daniel Stenberg, <daniel@haxx.se>."
Edouard@340
    30
Edouard@340
    31
/* This is the version number of the libcurl package from which this header
Edouard@340
    32
   file origins: */
dirk@531
    33
#define LIBCURL_VERSION "7.48.0"
Edouard@340
    34
Edouard@340
    35
/* The numeric version number is also available "in parts" by using these
Edouard@340
    36
   defines: */
Edouard@340
    37
#define LIBCURL_VERSION_MAJOR 7
dirk@531
    38
#define LIBCURL_VERSION_MINOR 48
Edouard@340
    39
#define LIBCURL_VERSION_PATCH 0
Edouard@340
    40
Edouard@340
    41
/* This is the numeric version of the libcurl version number, meant for easier
Edouard@340
    42
   parsing and comparions by programs. The LIBCURL_VERSION_NUM define will
Edouard@340
    43
   always follow this syntax:
Edouard@340
    44
Edouard@340
    45
         0xXXYYZZ
Edouard@340
    46
Edouard@340
    47
   Where XX, YY and ZZ are the main version, release and patch numbers in
Edouard@340
    48
   hexadecimal (using 8 bits each). All three numbers are always represented
Edouard@340
    49
   using two digits.  1.2 would appear as "0x010200" while version 9.11.7
Edouard@340
    50
   appears as "0x090b07".
Edouard@340
    51
Edouard@340
    52
   This 6-digit (24 bits) hexadecimal number does not show pre-release number,
Edouard@340
    53
   and it is always a greater number in a more recent release. It makes
Edouard@340
    54
   comparisons with greater than and less than work.
Edouard@340
    55
Edouard@340
    56
   Note: This define is the full hex number and _does not_ use the
Edouard@340
    57
   CURL_VERSION_BITS() macro since curl's own configure script greps for it
Edouard@340
    58
   and needs it to contain the full number.
Edouard@340
    59
*/
dirk@531
    60
#define LIBCURL_VERSION_NUM 0x073000
Edouard@340
    61
Edouard@340
    62
/*
Edouard@340
    63
 * This is the date and time when the full source package was created. The
Edouard@340
    64
 * timestamp is not stored in git, as the timestamp is properly set in the
Edouard@340
    65
 * tarballs by the maketgz script.
Edouard@340
    66
 *
Edouard@340
    67
 * The format of the date should follow this template:
Edouard@340
    68
 *
Edouard@340
    69
 * "Mon Feb 12 11:35:33 UTC 2007"
Edouard@340
    70
 */
dirk@531
    71
#define LIBCURL_TIMESTAMP "Wed Mar 23 06:57:50 UTC 2016"
Edouard@340
    72
Edouard@340
    73
#define CURL_VERSION_BITS(x,y,z) ((x)<<16|(y)<<8|z)
Edouard@340
    74
#define CURL_AT_LEAST_VERSION(x,y,z) \
Edouard@340
    75
  (LIBCURL_VERSION_NUM >= CURL_VERSION_BITS(x, y, z))
Edouard@340
    76
Edouard@340
    77
#endif /* __CURL_CURLVER_H */