]> git.tdb.fi Git - libs/net.git/blobdiff - source/types.h
Hide platform details of Socket behind pimpl
[libs/net.git] / source / types.h
diff --git a/source/types.h b/source/types.h
deleted file mode 100644 (file)
index 3af68ab..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-#ifndef MSP_NET_TYPES_H_
-#define MSP_NET_TYPES_H_
-
-namespace Msp {
-namespace Net {
-
-#ifdef WIN32
-typedef SOCKET SocketHandle;
-typedef int socklen_t;
-
-#define MSP_NET_INVALID_SOCKET_HANDLE static_cast<SOCKET>(-1)
-#else
-typedef int SocketHandle;
-
-#define MSP_NET_INVALID_SOCKET_HANDLE -1
-#endif
-
-} // namespace Net
-} // namespace Msp
-
-#endif