#define close closesocket
This commit is contained in:
parent
f4e31926b0
commit
933b38d5c5
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,11 @@
|
|||
#include "utils.h"
|
||||
|
||||
#include "glib.h"
|
||||
|
||||
// win32/libc_interface.h defines its own socket(), read() and so on.
|
||||
// We don't want to use it here.
|
||||
#define _LIBC_INTERFACE_H_ 1
|
||||
|
||||
#include "purple.h"
|
||||
#include <algorithm>
|
||||
#include <iostream>
|
||||
|
@ -23,6 +28,7 @@
|
|||
|
||||
#ifdef WIN32
|
||||
#include "win32/win32dep.h"
|
||||
#define close closesocket
|
||||
#define ssize_t SSIZE_T
|
||||
#include <process.h>
|
||||
#define getpid _getpid
|
||||
|
|
Loading…
Add table
Reference in a new issue