cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Compilers used for non-configure systems/platforms

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Wed, 4 Jun 2008 15:01:11 -0700

On Tue, Jun 03, 2008 at 02:42:35PM +0200, Daniel Stenberg wrote:
> OS400, OpenVMS, TPF, Symbian and z/OS are a few I can think of.

Here's a block that should work for Symbian:

#if defined(__SYMBIAN32__)
  #if defined(__GCC32__)
  typedef long long curl_off_t;
  #elif defined(__CW32__)
  #pragma longlong on
  typedef long long curl_off_t;
  #elif defined(__VC32__)
  typedef __int64 curl_off_t;
  #endif

  #define CURL_FORMAT_OFF_T "%lld"
  #define CURL_SIZEOF_CURL_OFF_T 8
#endif /* __SYMBIAN32__ */

>>> Dan

-- 
http://www.MoveAnnouncer.com              The web change of address service
          Let webmasters know that your web site has moved
Received on 2008-06-05