r18761 - gnucash/trunk/lib/libc - Partly revert r18748, "Win32 compatibility": lib/libc directory doesn't have glib available.
Christian Stimming
cstim at code.gnucash.org
Sun Feb 28 08:56:59 EST 2010
Author: cstim
Date: 2010-02-28 08:56:59 -0500 (Sun, 28 Feb 2010)
New Revision: 18761
Trac: http://svn.gnucash.org/trac/changeset/18761
Modified:
gnucash/trunk/lib/libc/strptime.c
Log:
Partly revert r18748, "Win32 compatibility": lib/libc directory doesn't have glib available.
Modified: gnucash/trunk/lib/libc/strptime.c
===================================================================
--- gnucash/trunk/lib/libc/strptime.c 2010-02-28 13:40:38 UTC (rev 18760)
+++ gnucash/trunk/lib/libc/strptime.c 2010-02-28 13:56:59 UTC (rev 18761)
@@ -219,13 +219,13 @@
#if defined __GNUC__ && __GNUC__ >= 2
# define match_string(cs1, s2) \
({ size_t len = strlen (cs1); \
- int result = g_strncasecmp ((cs1), (s2), len) == 0; \
+ int result = strncasecmp ((cs1), (s2), len) == 0; \
if (result) (s2) += len; \
result; })
#else
/* Oh come on. Get a reasonable compiler. */
# define match_string(cs1, s2) \
- (g_strncasecmp ((cs1), (s2), strlen (cs1)) ? 0 : ((s2) += strlen (cs1), 1))
+ (strncasecmp ((cs1), (s2), strlen (cs1)) ? 0 : ((s2) += strlen (cs1), 1))
#endif
/* We intentionally do not use isdigit() for testing because this will
lead to problems with the wide character version. */
@@ -261,7 +261,7 @@
while (*alts != '\0') \
{ \
size_t len = strlen (alts); \
- if (g_strncasecmp (alts, rp, len) == 0) \
+ if (strncasecmp (alts, rp, len) == 0) \
break; \
alts += len + 1; \
++val; \
More information about the gnucash-changes
mailing list