@velox0/cerver 0.6.2-nightly.20260531.8 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/runtime/win_compat.h +4 -4
package/package.json
CHANGED
package/runtime/win_compat.h
CHANGED
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
can stay unchanged. Only the primitives actually used by cerver are
|
|
31
31
|
mapped; this is NOT a general replacement. */
|
|
32
32
|
|
|
33
|
-
#include <pthread.h>
|
|
33
|
+
#include <pthread.h>
|
|
34
34
|
|
|
35
35
|
/* ---- POSIX socket aliases --------------------------------------- */
|
|
36
36
|
typedef SOCKET cerver_sock_t;
|
|
@@ -136,9 +136,9 @@ static inline void cerver_wsa_cleanup(void) { WSACleanup(); }
|
|
|
136
136
|
|
|
137
137
|
#else /* !Windows */
|
|
138
138
|
|
|
139
|
-
#include <stddef.h>
|
|
140
|
-
#include <sys/types.h>
|
|
141
|
-
#include <unistd.h>
|
|
139
|
+
#include <stddef.h>
|
|
140
|
+
#include <sys/types.h>
|
|
141
|
+
#include <unistd.h>
|
|
142
142
|
|
|
143
143
|
#define CERVER_PLATFORM_WINDOWS 0
|
|
144
144
|
typedef int cerver_sock_t;
|