cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-library Mailing List Archives

64/32/16bit curl_off_t for SUMBIAN and VMS

From: Yang Tse <yangsita_at_gmail.com>
Date: Thu, 5 Jun 2008 18:32:19 +0200

My current local copy definitions block for these compiler/system looks like:

#elif defined(__SYMBIAN32__)
  #if defined(__GCC32__)
    typedef long long curl_off_t;
    #define CURL_FORMAT_OFF_T "%lld"
    #define CURL_SIZEOF_CURL_OFF_T 8
  #elif defined(__CW32__)
    #pragma longlong on
    typedef long long curl_off_t;
    #define CURL_FORMAT_OFF_T "%lld"
    #define CURL_SIZEOF_CURL_OFF_T 8
  #elif defined(__VC32__)
    typedef signed __int64 curl_off_t;
    #define CURL_FORMAT_OFF_T "%I64d"
    #define CURL_SIZEOF_CURL_OFF_T 8
  #endif

#elif defined(__VMS)
  #if defined(__ALPHA) || defined(__IA64)
    typedef long long curl_off_t;
    #define CURL_FORMAT_OFF_T "%lld"
    #define CURL_SIZEOF_CURL_OFF_T 8
  #else
    typedef long curl_off_t;
    #define CURL_FORMAT_OFF_T "%ld"
    #define CURL_SIZEOF_CURL_OFF_T 4
  #endif

-- 
-=[Yang]=-
Received on 2008-06-05

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET