OSDN Git Service

first commit
[slackware/slackbuild.git] / stardict-tools / stardict-tools-3.0.1 / src / libcommon.cpp
1 #include <string.h>
2
3 #include "libcommon.h"
4
5 gint stardict_strcmp(const gchar *s1, const gchar *s2)
6 {
7         gint a;
8         a = g_ascii_strcasecmp(s1, s2);
9         if (a == 0)
10                 return strcmp(s1, s2);
11         else
12                 return a;
13 }