annotate src/win32/libc_internal.h @ 4793:677d3cb193a1

[gaim-migrate @ 5113] this removes all the remaining deprecated glib, gdk, gdk-pixbuf, and gtk function calls. Hopefully I didn't break anything. Most of this is due to the deprecation of g_strcasecmp and g_strncasecmp. Two functions I never thought would be deprecated, but apparently they're no good at comparing utf8 text. g_ascii_str{,n}casecmp is OK when you're sure that it's ASCII. Otherwise, we're supposed to use g_utf8_collate(), except that it is case sensitive. Since glib doesn't currently have a case-insensitive one, I wrote one. If you need to compare utf8 text, you can use gaim_utf8_strcasecmp(). I have to go do dishes now. committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Sun, 16 Mar 2003 00:01:49 +0000
parents 21d296405cfd
children 9657e243d001
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
3776
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
1 /*
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
2 * libc_internal.h
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
3 */
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
4
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
5 #ifndef _LIBC_INTERNAL_
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
6 #define _LIBC_INTERNAL_
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
7
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
8 /* fcntl.h */
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
9 #define F_SETFL 1
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
10 #define O_NONBLOCK 1
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
11
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
12 /* sys/time.h */
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
13 struct timezone {
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
14 int tz_minuteswest;
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
15 int tz_dsttime;
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
16 };
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
17
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
18
21d296405cfd [gaim-migrate @ 3916]
Herman Bloggs <hermanator12002@yahoo.com>
parents:
diff changeset
19 #endif /* _LIBC_INTERNAL_ */