~ubuntu-branches/ubuntu/vivid/curl/vivid

« back to all changes in this revision

Viewing changes to src/setup.h

  • Committer: Bazaar Package Importer
  • Author(s): Andreas Schuldei
  • Date: 2009-04-02 23:35:45 UTC
  • mto: (1.2.1 upstream) (3.2.3 sid)
  • mto: This revision was merged to the branch mainline in revision 38.
  • Revision ID: james.westby@ubuntu.com-20090402233545-geixkwhe3izccjt7
Tags: upstream-7.19.4
ImportĀ upstreamĀ versionĀ 7.19.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 *                            | (__| |_| |  _ <| |___
8
8
 *                             \___|\___/|_| \_\_____|
9
9
 *
10
 
 * Copyright (C) 1998 - 2007, Daniel Stenberg, <daniel@haxx.se>, et al.
 
10
 * Copyright (C) 1998 - 2008, 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.53 2008-04-22 22:53:54 danf Exp $
 
23
 * $Id: setup.h,v 1.58 2008-09-05 01:27:24 yangtse Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
#define CURL_NO_OLDIES
46
46
#include "config-win32.h"
47
47
#endif
48
48
 
49
 
#ifdef macintosh
50
 
#include "config-mac.h"
 
49
#if defined(macintosh) && defined(__MRC__)
 
50
#  include "config-mac.h"
51
51
#endif
52
52
 
53
53
#ifdef __riscos__
72
72
 
73
73
#endif /* HAVE_CONFIG_H */
74
74
 
75
 
#if defined(CURLDEBUG) && defined(CURLTOOLDEBUG)
76
 
/* This is an ugly hack for CURLDEBUG conditions only. We need to include
77
 
   the file here, since it might set the _FILE_OFFSET_BITS define, which must
78
 
   be set BEFORE all normal system headers. */
79
 
#include "../lib/setup.h"
 
75
/*
 
76
 * Tru64 needs _REENTRANT set for a few function prototypes and
 
77
 * things to appear in the system header files. Unixware needs it
 
78
 * to build proper reentrant code. Others may also need it.
 
79
 */
 
80
 
 
81
#ifdef NEED_REENTRANT
 
82
#  ifndef _REENTRANT
 
83
#    define _REENTRANT
 
84
#  endif
80
85
#endif
81
86
 
82
87
/* 
182
187
#include <sys/timeval.h>
183
188
#endif
184
189
 
185
 
#ifndef SIZEOF_CURL_OFF_T
186
 
#define SIZEOF_CURL_OFF_T sizeof(curl_off_t)
187
 
#endif
188
 
 
189
190
#ifndef UNPRINTABLE_CHAR
190
191
/* define what to use for unprintable characters */
191
192
#define UNPRINTABLE_CHAR '.'