From 4d39defcb59600513ff65a688c54f3d6b13ca63a Mon Sep 17 00:00:00 2001 From: "SND\\weimingzhi_cp" Date: Sat, 8 May 2010 01:16:38 +0000 Subject: more cleanups. git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@47580 e17a0e51-4ae3-4d35-97c3-1a29b211df97 --- libpcsxcore/socket.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'libpcsxcore/socket.h') diff --git a/libpcsxcore/socket.h b/libpcsxcore/socket.h index bb0a978d..7ee0deb4 100644 --- a/libpcsxcore/socket.h +++ b/libpcsxcore/socket.h @@ -18,6 +18,10 @@ #ifndef __SOCKET_H__ #define __SOCKET_H__ +#ifdef __cplusplus +extern "C" { +#endif + int StartServer(); void StopServer(); @@ -33,4 +37,7 @@ void WriteSocket(char * buffer, int len); void SetsBlock(); void SetsNonblock(); +#ifdef __cplusplus +} +#endif #endif -- cgit v1.2.3