Skip to content

Commit

Permalink
include stdint
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalten committed Jul 24, 2017
1 parent e4705d3 commit b3fc799
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
4 changes: 0 additions & 4 deletions TUIO2/TcpReceiver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,6 @@ int tcp_connect(int socket, const struct sockaddr *address, socklen_t address_le
return connect(socket, address, address_len);
}

#if defined (WIN32) && !defined (int32_t)
typedef DWORD int32_t;
#endif

#ifdef WIN32
static DWORD WINAPI ClientThreadFunc( LPVOID obj )
#else
Expand Down
1 change: 1 addition & 0 deletions TUIO2/TcpReceiver.h
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
#ifdef WIN32
#include <winsock.h>
#include <io.h>
#include <stdint.h>
typedef int socklen_t;
#else
#include <sys/types.h>
Expand Down
1 change: 1 addition & 0 deletions TUIO2/TcpSender.h
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
#ifdef WIN32
#include <winsock.h>
#include <io.h>
#include <stdint.h>
typedef int socklen_t;
#else
#include <sys/types.h>
Expand Down
4 changes: 0 additions & 4 deletions TUIO2/WebSockSender.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,6 @@

#include "WebSockSender.h"

#if defined (WIN32) && !defined (_STDINT)
typedef DWORD int32_t;
#endif

using namespace TUIO2;

WebSockSender::WebSockSender()
Expand Down

0 comments on commit b3fc799

Please sign in to comment.