Ignore:
Timestamp:
08/24/10 07:51:02 (21 months ago)
Author:
shiretu
Message:

-- android related

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/common/include/platform/osx/osxplatform.h

    r58 r96  
    111111}while (0); 
    112112 
     113#define GETCUSTOMNTP(result,value) \ 
     114do { \ 
     115        struct timeval tv; \ 
     116        tv.tv_sec=value/CLOCKS_PER_SECOND; \ 
     117        tv.tv_usec=value-tv.tv_sec*CLOCKS_PER_SECOND; \ 
     118        result=(((uint64_t)tv.tv_sec + 2208988800U)<<32)|((((uint32_t)tv.tv_usec) << 12) + (((uint32_t)tv.tv_usec) << 8) - ((((uint32_t)tv.tv_usec) * 1825) >> 5)); \ 
     119}while (0); 
     120 
    113121class OSXPlatform 
    114122: public BasePlatform { 
Note: See TracChangeset for help on using the changeset viewer.