~ubuntu-branches/ubuntu/lucid/curl/lucid-201101212007

« back to all changes in this revision

Viewing changes to lib/strtoofft.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2008-02-08 11:20:41 UTC
  • mto: (3.1.1 lenny) (1.2.1 upstream)
  • mto: This revision was merged to the branch mainline in revision 26.
  • Revision ID: james.westby@ubuntu.com-20080208112041-hed7sb5r6ghmjf8v
Tags: upstream-7.18.0
ImportĀ upstreamĀ versionĀ 7.18.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
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: strtoofft.h,v 1.15 2007-08-07 12:44:41 patrickm Exp $
 
23
 * $Id: strtoofft.h,v 1.16 2007-11-06 16:20:54 giva Exp $
24
24
 ***************************************************************************/
25
25
 
26
26
/*
45
45
 
46
46
/* For MSVC7 we can use _strtoi64() which seems to be a strtoll() clone */
47
47
#if defined(_MSC_VER) && (_MSC_VER >= 1300)
 
48
_CRTIMP __int64 __cdecl _strtoi64(const char *, char **, int);  /* in <crt/stdlib.h> */
48
49
#define curlx_strtoofft _strtoi64
49
50
#else /* MSVC7 or later */
50
51
curl_off_t curlx_strtoll(const char *nptr, char **endptr, int base);