- Added a g_memmove function for SunOS compatability.

- Disabled unused gldouble definitions which were a portability problem

                                        - owt
This commit is contained in:
Owen Taylor
1997-12-02 21:03:14 +00:00
parent a95ad0a897
commit 8fc5d3586a
13 changed files with 123 additions and 16 deletions

View File

@ -286,7 +286,7 @@ g_string_prepend (GString *fstring, gchar *val)
g_string_maybe_expand (string, len);
memmove (string->str, string->str + len, string->len);
g_memmove (string->str, string->str + len, string->len);
strncpy (string->str, val, len);
@ -304,7 +304,7 @@ g_string_prepend_c (GString *fstring, char c)
g_string_maybe_expand (string, 1);
memmove (string->str, string->str + 1, string->len);
g_memmove (string->str, string->str + 1, string->len);
string->str[0] = c;