Skip to content

Commit

Permalink
hack: mingw32 workarounds
Browse files Browse the repository at this point in the history
Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
  • Loading branch information
felipec committed Apr 30, 2011
1 parent 278e1b7 commit 39d4cb2
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pn_auth.c
Expand Up @@ -31,6 +31,10 @@
#include <stdlib.h> /* for atoi */ #include <stdlib.h> /* for atoi */
#include <stdio.h> #include <stdio.h>


#ifdef __MINGW32__
__MINGW_IMPORT long timezone;
#endif

typedef struct AuthRequest AuthRequest; typedef struct AuthRequest AuthRequest;


struct AuthRequest struct AuthRequest
Expand Down
4 changes: 4 additions & 0 deletions pn_util.c
Expand Up @@ -35,6 +35,10 @@
#define BUFSIZE 256 #define BUFSIZE 256
#endif /* HAVE_LIBPURPLE */ #endif /* HAVE_LIBPURPLE */


#ifdef __MINGW32__
__MINGW_IMPORT long timezone;
#endif

struct PlusTag struct PlusTag
{ {
char *code; char *code;
Expand Down

0 comments on commit 39d4cb2

Please sign in to comment.