Changeset 4754


Ignore:
Timestamp:
11/05/08 23:06:47 (8 years ago)
Author:
mickey
Message:

opkg: attached patch fixes build failures with gcc 4.3.2. patch by Enrico Scholz -- thanks!

Location:
trunk/src/target/opkg/libbb
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/target/opkg/libbb/libbb.h

    r3880 r4754  
    346346#endif 
    347347 
    348 /* Stupid gcc always includes its own builtin strlen()... */ 
    349 extern size_t xstrlen(const char *string); 
    350 #define strlen(x)       xstrlen(x) 
    351  
    352348#endif /* __LIBBB_H__ */ 
  • trunk/src/target/opkg/libbb/xfuncs.c

    r3837 r4754  
    8686} 
    8787 
    88 /* Stupid gcc always includes its own builtin strlen()... */ 
    89 #undef strlen 
    90 size_t xstrlen(const char *string) 
    91 { 
    92         return(strlen(string)); 
    93 } 
    94  
    9588/* END CODE */ 
    9689/* 
Note: See TracChangeset for help on using the changeset viewer.