Skip to content

Display and control your Android device

Fix win32 build

Romain Vimont821ec9843c32
diff --git a/app/src/command.h b/app/src/command.h
index ed7d5faf..24ddd21d 100644
--- a/app/src/command.h
+++ b/app/src/command.h
@@ -7,12 +7,11 @@
// <https://stackoverflow.com/a/44383330/1987178>
#ifdef _WIN32
+# define PRIexitcode "lu"
# ifdef _WIN64
# define PRIsizet PRIu64
-# define PRIexitcode "lu"
# else
# define PRIsizet PRIu32
-# define PRIexitcode "u"
# endif
#else
# define PRIsizet "zu"
diff --git a/app/src/net.h b/app/src/net.h
index 52a1e9a4..d9a9269a 100644
--- a/app/src/net.h
+++ b/app/src/net.h
@@ -9,8 +9,6 @@
#define SHUT_RD SD_RECEIVE
#define SHUT_WR SD_SEND
#define SHUT_RDWR SD_BOTH
- typedef SIZE_T size_t;
- typedef SSIZE_T ssize_t;
typedef SOCKET socket_t;
#else
# include <sys/socket.h>