Ticket #1774: stricmp-define.patch

File stricmp-define.patch, 474 bytes (added by julian@…, 20 years ago)

patch defines stricmp to be strcasecmp, since it couldn't find stricmp

  • commandline.cpp

    old new  
    2727#endif
    2828#endif
    2929
     30#define stricmp(s1,s2) strcasecmp(s1,s2)
     31
    3032CommandLine::ExtraFile::ExtraFile(void)
    3133: filename()
    3234, filesize(0)
  • par2repairer.cpp

    old new  
    2727#endif
    2828#endif
    2929
     30#define stricmp(s1,s2) strcasecmp(s1,s2)
     31
    3032Par2Repairer::Par2Repairer(void)
    3133{
    3234  firstpacket = true;