Changeset - faa076723c7a
[Not reviewed]
0 1 0
Jan Kaluza - 13 years ago 2012-09-05 13:59:25
hanzz.k@gmail.com
#define close closesocket
1 file changed with 5 insertions and 0 deletions:
0 comments (0 inline, 0 general)
backends/libpurple/utils.cpp
Show inline comments
 
@@ -15,12 +15,16 @@
 
 *
 
 * You should have received a copy of the GNU General Public License
 
 * along with this program; if not, write to the Free Software
 
 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02111-1301  USA
 
 */
 

	
 
// 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 "utils.h"
 

	
 
#include "glib.h"
 
#include "purple.h"
 
#include <algorithm>
 
#include <iostream>
 
@@ -42,12 +46,13 @@
 
#include <fcntl.h>
 
#else 
 
#include <process.h>
 
#define getpid _getpid 
 
#define ssize_t SSIZE_T
 
#include "win32/win32dep.h"
 
#define close closesocket
 
#endif
 

	
 
#include "purple_defs.h"
 

	
 
static GHashTable *ui_info = NULL;
 

	
0 comments (0 inline, 0 general)