Browse Source

More fixes fro windows

master
Macoy Madson 10 months ago
parent
commit
cc761d478f
  1. 2
      src/DataBundle.cake
  2. 3
      src/Network.cake
  3. 1
      src/NetworkRemoteCommands.cake

2
src/DataBundle.cake

@ -85,6 +85,8 @@
(return false))
(get-or-create-comptime-var environment files-to-bundle (template (in std vector) (in std string)))
(when (call-on-ptr empty files-to-bundle)
(return true))
(var results (template (in std vector) int))
(call-on resize results (call-on-ptr size files-to-bundle))

3
src/Network.cake

@ -6,7 +6,8 @@
(true
(c-import "<string.h>"
"<sys/socket.h>" "<sys/types.h>" "<unistd.h>"
"<netinet/tcp.h>" "<netinet/in.h>" "<netdb.h>")))
"<netinet/tcp.h>" "<netinet/in.h>" "<netdb.h>"
"<errno.h>" "<sys/select.h>")))
(def-type-alias-global socket-type int))
(comptime-cond

1
src/NetworkRemoteCommands.cake

@ -11,7 +11,6 @@
"KeyManagement.cake")
(c-import
"<errno.h>" "<sys/select.h>"
&with-decls "<stdbool.h>" "<sodium.h>")
(def-type-alias-global client-permissions (unsigned int))

Loading…
Cancel
Save