repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
cec: clean ups and only include what we need from lib/platform.
[deb_libcec.git]
/
src
/
lib
/
platform
/
windows
/
os-types.h
diff --git
a/src/lib/platform/windows/os-types.h
b/src/lib/platform/windows/os-types.h
index 3943510fbad76ec8e55097d411d770b88044a331..ea00eaec441c618922c8a6eea6ed0fc6f7ec7d61 100644
(file)
--- a/
src/lib/platform/windows/os-types.h
+++ b/
src/lib/platform/windows/os-types.h
@@
-31,6
+31,10
@@
* http://www.pulse-eight.net/
*/
+#if !defined(__WINDOWS__)
+#define __WINDOWS__
+#endif
+
#pragma warning(disable:4005) // Disable "warning C4005: '_WINSOCKAPI_' : macro redefinition"
#include <winsock2.h>
#pragma warning(default:4005)