Ignore:
Timestamp:
Apr 22, 2007, 10:57:48 AM (18 years ago)
Author:
bird
Message:

Applied patch from Paul (aka Creeping).

Location:
trunk/essentials/dev-lang/perl/ext
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/essentials/dev-lang/perl/ext/Devel/DProf/DProf.xs

    r3187 r3188  
    7676#    endif
    7777#  endif
    78 #  ifdef OS2                            /* times() has significant overhead */
     78#  if defined(OS2)&&!defined(__KLIBC__) /* times() has significant overhead */
    7979#    define Times(ptr) (dprof_times(aTHX_ ptr))
    8080#    define INCL_DOSPROFILE
     
    132132    U32         default_perldb;
    133133    UV          depth;
    134 #ifdef OS2
     134#  if defined(OS2)&&!defined(__KLIBC__)
    135135    ULONG       frequ;
    136136    long long   start_cnt;
     
    171171#  define g_THX                 g_prof_state.my_perl
    172172#endif
    173 #ifdef OS2
     173#  if defined(OS2)&&!defined(__KLIBC__)
    174174#  define g_frequ               g_prof_state.frequ
    175175#  define g_start_cnt           g_prof_state.start_cnt
     
    179179dprof_times(pTHX_ struct tms *t)
    180180{
    181 #ifdef OS2
     181#  if defined(OS2)&&!defined(__KLIBC__)
    182182    ULONG rc;
    183183    QWORD cnt;
  • trunk/essentials/dev-lang/perl/ext/DynaLoader/dl_dlopen.xs

    r3187 r3188  
    219219    void *sym;
    220220    CODE:
    221 #ifdef DLSYM_NEEDS_UNDERSCORE
     221#if defined(DLSYM_NEEDS_UNDERSCORE)||defined(__KLIBC__)
    222222    symbolname = Perl_form_nocontext("_%s", symbolname);
    223223#endif
Note: See TracChangeset for help on using the changeset viewer.