Mercurial > pidgin.yaz
changeset 5912:b3c412884a22
[gaim-migrate @ 6344]
win32 adjustments for header re-org
committer: Tailor Script <tailor@pidgin.im>
author | Herman Bloggs <hermanator12002@yahoo.com> |
---|---|
date | Tue, 17 Jun 2003 18:53:49 +0000 |
parents | 865f235ffaf0 |
children | 9657e243d001 |
files | plugins/iconaway.c plugins/perl/perl.c plugins/win32/transparency/win2ktrans.c plugins/win32/winprefs/winprefs.c src/internal.h src/protocols/msn/ft.c src/server.c |
diffstat | 7 files changed, 30 insertions(+), 22 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/iconaway.c Tue Jun 17 07:37:35 2003 +0000 +++ b/plugins/iconaway.c Tue Jun 17 18:53:49 2003 +0000 @@ -7,10 +7,9 @@ #define ICONAWAY_PLUGIN_ID "gtk-iconaway" -G_MODULE_IMPORT GtkWidget *imaway; -/*G_MODULE_IMPORT GtkWidget *blist;*/ -/* XXX G_MODULE_IMPORT GtkWidget *all_chats; */ -/*G_MODULE_IMPORT GtkWidget *all_convos;*/ +#ifdef _WIN32 +__declspec(dllimport) GtkWidget *imaway; +#endif #ifdef USE_APPLET extern void applet_destroy_buddy();
--- a/plugins/perl/perl.c Tue Jun 17 07:37:35 2003 +0000 +++ b/plugins/perl/perl.c Tue Jun 17 18:53:49 2003 +0000 @@ -77,6 +77,9 @@ # undef pipe #endif +#ifdef _WIN32 +#define _WIN32DEP_H_ +#endif #include "internal.h" #include "debug.h"
--- a/plugins/win32/transparency/win2ktrans.c Tue Jun 17 07:37:35 2003 +0000 +++ b/plugins/win32/transparency/win2ktrans.c Tue Jun 17 18:53:49 2003 +0000 @@ -21,12 +21,15 @@ * */ #include <gdk/gdkwin32.h> -#include <gmodule.h> -#include "gaim.h" +#include "internal.h" + +#include "prefs.h" +#include "debug.h" + +#include "gtkconv.h" #include "gtkplugin.h" #include "gtkblist.h" -#include "prefs.h" -#include "win32dep.h" +#include "gtkutils.h" /* * MACROS & DEFINES
--- a/plugins/win32/winprefs/winprefs.c Tue Jun 17 07:37:35 2003 +0000 +++ b/plugins/win32/winprefs/winprefs.c Tue Jun 17 18:53:49 2003 +0000 @@ -21,10 +21,14 @@ #include <windows.h> #include <winreg.h> #include <winerror.h> -#include "gaim.h" + +#include "internal.h" + +#include "prefs.h" +#include "debug.h" + #include "gtkplugin.h" -#include "prefs.h" -#include "win32dep.h" +#include "gtkutils.h" /* * MACROS & DEFINES
--- a/src/internal.h Tue Jun 17 07:37:35 2003 +0000 +++ b/src/internal.h Tue Jun 17 18:53:49 2003 +0000 @@ -54,7 +54,9 @@ #include <sys/stat.h> #include <sys/time.h> #include <sys/types.h> +#ifndef _WIN32 #include <sys/wait.h> +#endif #include <ctype.h> #include <errno.h> #include <fcntl.h> @@ -79,14 +81,7 @@ # endif #endif -#ifdef _WIN32 -# include <gdk/gdkwin32.h> -# include <winsock.h> -# include "win32dep.h" -# include <direct.h> -# include <winsock.h> -# include <io.h> -#else +#ifndef _WIN32 # include <arpa/inet.h> # include <netinet/in.h> # include <sys/socket.h> @@ -111,6 +106,11 @@ #include <gtk/gtk.h> #include <glib.h> +#ifdef _WIN32 +#include "win32dep.h" +#endif + + #define WEBSITE "http://gaim.sourceforge.net/" #endif /* _GAIM_INTERNAL_H_ */
--- a/src/protocols/msn/ft.c Tue Jun 17 07:37:35 2003 +0000 +++ b/src/protocols/msn/ft.c Tue Jun 17 18:53:49 2003 +0000 @@ -24,10 +24,9 @@ #ifdef _WIN32 #include "win32dep.h" +__declspec(dllimport) GList *connections; #endif -G_MODULE_IMPORT GSList *connections; - static struct gaim_xfer * find_xfer_by_cookie(GaimConnection *gc, unsigned long cookie) {