Ticket #854: boinc-gcc44.patch

File boinc-gcc44.patch, 528 bytes (added by mjakubicek, 15 years ago)

updated gcc44/glibc2.10 patch

  • lib/str_util.h

    old new  
    2424#include <cstring>
    2525#include <string>
    2626#include <vector>
     27#include "config.h"
    2728
    2829#define KILO (1024.0)
    2930#define MEGA (1048576.0)
     
    3839#endif
    3940
    4041#if !defined(HAVE_STRCASESTR)
    41 extern char *strcasestr(const char *s1, const char *s2);
     42extern const char *strcasestr(const char *s1, const char *s2);
    4243#endif
    4344
    4445extern int ndays_to_string(double x, int smallest_timescale, char *buf);