X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Flib%2Fplatform%2Fwindows%2Fos-types.h;h=de12f08426095313fd7ef233cc19737e24e6a729;hb=4478bc797f871f631399ab8008d3b2787ded07c2;hp=ea00eaec441c618922c8a6eea6ed0fc6f7ec7d61;hpb=ba65909d0a9c43a1bac71c6182c53f202285cec5;p=deb_libcec.git diff --git a/src/lib/platform/windows/os-types.h b/src/lib/platform/windows/os-types.h index ea00eae..de12f08 100644 --- a/src/lib/platform/windows/os-types.h +++ b/src/lib/platform/windows/os-types.h @@ -2,7 +2,7 @@ /* * This file is part of the libCEC(R) library. * - * libCEC(R) is Copyright (C) 2011 Pulse-Eight Limited. All rights reserved. + * libCEC(R) is Copyright (C) 2011-2012 Pulse-Eight Limited. All rights reserved. * libCEC(R) is an original work, containing original code. * * libCEC(R) is a trademark of Pulse-Eight Limited. @@ -35,6 +35,10 @@ #define __WINDOWS__ #endif +#ifndef _WINSOCKAPI_ +#define _WINSOCKAPI_ +#endif + #pragma warning(disable:4005) // Disable "warning C4005: '_WINSOCKAPI_' : macro redefinition" #include #pragma warning(default:4005) @@ -46,6 +50,8 @@ #include #include +typedef SOCKET socket_t; + typedef signed __int8 int8_t; typedef signed __int16 int16_t; typedef signed __int32 int32_t;