~ubuntu-branches/ubuntu/natty/curl/natty-security

« back to all changes in this revision

Viewing changes to src/setup.h

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2010-06-20 13:56:28 UTC
  • mfrom: (3.4.7 sid)
  • Revision ID: james.westby@ubuntu.com-20100620135628-e30tp9jldq6hq985
Tags: 7.21.0-1ubuntu1
* Merge from debian unstable.  Remaining changes: LP: #596334
  - Keep build deps in main:
    - Drop build dependencies: stunnel, libssh2-1-dev
    - Add build-dependency on openssh-server
    - Drop libssh2-1-dev from libcurl4-openssl-dev's Depends.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#ifndef __SRC_CURL_SETUP_H
2
 
#define __SRC_CURL_SETUP_H
 
1
#ifndef HEADER_CURL_SRC_SETUP_H
 
2
#define HEADER_CURL_SRC_SETUP_H
3
3
/***************************************************************************
4
4
 *                                  _   _ ____  _
5
5
 *  Project                     ___| | | |  _ \| |
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2009, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al.
11
11
 *
12
12
 * This software is licensed as described in the file COPYING, which
13
13
 * you should have received as part of this distribution. The terms
20
20
 * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
21
21
 * KIND, either express or implied.
22
22
 *
23
 
 * $Id: setup.h,v 1.62 2009-10-27 16:56:20 yangtse Exp $
24
23
 ***************************************************************************/
25
24
 
26
25
#define CURL_NO_OLDIES
69
68
#endif /* HAVE_CONFIG_H */
70
69
 
71
70
/*
 
71
 * AIX 4.3 and newer needs _THREAD_SAFE defined to build
 
72
 * proper reentrant code. Others may also need it.
 
73
 */
 
74
 
 
75
#ifdef NEED_THREAD_SAFE
 
76
#  ifndef _THREAD_SAFE
 
77
#    define _THREAD_SAFE
 
78
#  endif
 
79
#endif
 
80
 
 
81
/*
72
82
 * Tru64 needs _REENTRANT set for a few function prototypes and
73
83
 * things to appear in the system header files. Unixware needs it
74
84
 * to build proper reentrant code. Others may also need it.
80
90
#  endif
81
91
#endif
82
92
 
83
 
/* 
 
93
/*
84
94
 * Include header files for windows builds before redefining anything.
85
 
 * Use this preproessor block only to include or exclude windows.h, 
86
 
 * winsock2.h, ws2tcpip.h or winsock.h. Any other windows thing belongs 
 
95
 * Use this preproessor block only to include or exclude windows.h,
 
96
 * winsock2.h, ws2tcpip.h or winsock.h. Any other windows thing belongs
87
97
 * to any other further and independent block.  Under Cygwin things work
88
98
 * just as under linux (e.g. <sys/socket.h>) and the winsock headers should
89
99
 * never be included when __CYGWIN__ is defined.  configure script takes
205
215
#include "setup_once.h"
206
216
#endif
207
217
 
208
 
#endif /* __SRC_CURL_SETUP_H */
 
218
#endif /* HEADER_CURL_SRC_SETUP_H */