aboutsummaryrefslogtreecommitdiff
path: root/client/libacron/private/win32.h
diff options
context:
space:
mode:
Diffstat (limited to 'client/libacron/private/win32.h')
-rw-r--r--client/libacron/private/win32.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/client/libacron/private/win32.h b/client/libacron/private/win32.h
new file mode 100644
index 0000000..07cdca8
--- /dev/null
+++ b/client/libacron/private/win32.h
@@ -0,0 +1,15 @@
+/*
+ * Created by yuuta on 7/21/22.
+ */
+
+#ifndef LIBAC_WIN32_H
+#define LIBAC_WIN32_H
+
+#ifdef WIN32
+#define _Thread_local __declspec( thread )
+#else
+#define SOCKET int
+#define closesocket(socket) close(socket)
+#endif
+
+#endif /* LIBAC_WIN32_H */