Changeset 66 for trunk/gsdl


Ignore:
Timestamp:
1998-12-09T13:27:29+13:00 (26 years ago)
Author:
sjboddie
Message:

replaced my_stricmp with _stricmp and strcasecmp in one instance as
my_stricmp won't compare numeric values

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/library/gdbmclass.cpp

    r63 r66  
    712712
    713713static int compare_str (const void *e1, const void *e2) {
    714   return my_stricmp(*((char**)e1), *((char**)e2));
     714#ifdef __WIN32__
     715  return _stricmp(*((char**)e1), *((char**)e2));
     716#else
     717  return strcasecmp(*((char**)e1), *((char**)e2)); 
     718#endif
    715719}
    716720
Note: See TracChangeset for help on using the changeset viewer.