changeset 11185:1ce573a2e125

[gaim-migrate @ 13297] Meh committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Wed, 03 Aug 2005 03:12:23 +0000
parents 044645e8a679
children bbe84acea03a
files src/protocols/oscar/aim.h src/protocols/oscar/oscar.c
diffstat 2 files changed, 7 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/protocols/oscar/aim.h	Wed Aug 03 02:59:39 2005 +0000
+++ b/src/protocols/oscar/aim.h	Wed Aug 03 03:12:23 2005 +0000
@@ -37,16 +37,13 @@
 extern "C" {
 #endif
 
-/* XXX adjust these based on autoconf-detected platform */
-typedef unsigned char fu8_t;
-typedef unsigned short fu16_t;
-typedef unsigned int fu32_t;
-typedef fu32_t aim_snacid_t;
-typedef fu16_t flap_seqnum_t;
+/* TODO: Remove these three typedefs and use guints everywhere. */
+typedef guint8  fu8_t;
+typedef guint16 fu16_t;
+typedef guint32 fu32_t;
 
-#if defined(mach) && defined(__APPLE__)
-#define gethostbyname(x) gethostbyname2(x, AF_INET) 
-#endif
+typedef guint32 aim_snacid_t;
+typedef guint16 flap_seqnum_t;
 
 #if defined(_WIN32) && !defined(WIN32_STATIC)
 /*
--- a/src/protocols/oscar/oscar.c	Wed Aug 03 02:59:39 2005 +0000
+++ b/src/protocols/oscar/oscar.c	Wed Aug 03 03:12:23 2005 +0000
@@ -5625,7 +5625,7 @@
 
 		args.flags = AIM_IMFLAGS_ACK | AIM_IMFLAGS_CUSTOMFEATURES;
 		if (od->icq) {
-						/* We have to present different "features" (whose meaning
+			/* We have to present different "features" (whose meaning
 			   is unclear and are merely a result of protocol inspection)
 			   to offline ICQ buddies. Otherwise, the official
 			   ICQ client doesn't treat those messages as being "ANSI-