Ignore:
Timestamp:
Nov 13, 2017 6:06:25 AM (6 years ago)
Author:
ming
Message:

Re #2062: Remove deprecated Linux kernel implementation

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/include/pj/compat/high_precision.h

    r3553 r5692  
    3232#   define pj_highprec_mod(a,b)             (a=fmod(a,b)) 
    3333 
    34 #elif defined(PJ_LINUX_KERNEL) && PJ_LINUX_KERNEL != 0 
    35  
    36 #   include <asm/div64.h> 
    37      
    38     typedef pj_int64_t pj_highprec_t; 
    39  
    40 #   define pj_highprec_div(a1,a2)   do_div(a1,a2) 
    41 #   define pj_highprec_mod(a1,a2)   (a1=do_mod(a1, a2)) 
    42  
    43     PJ_INLINE(pj_int64_t) do_mod( pj_int64_t a1, pj_int64_t a2) 
    44     { 
    45         return do_div(a1,a2); 
    46     } 
    47      
    48      
    4934#elif defined(PJ_HAS_INT64) && PJ_HAS_INT64 != 0 
    5035    /* 
Note: See TracChangeset for help on using the changeset viewer.