fixes for winblows

This commit is contained in:
CPunch 2022-09-01 20:07:29 -05:00
parent 587d9a26e5
commit cf01657cc2
2 changed files with 3 additions and 3 deletions

View File

@ -25,11 +25,11 @@
#define laikaM_newVector(type, name) \
type *name; \
int name##_COUNT; \
int name##_CAP;
int name##_CAP
#define laikaM_initVector(name, startCap) \
name = NULL; \
name##_COUNT = 0; \
name##_CAP = startCap;
name##_CAP = startCap
#define laikaM_growVector(type, name, needed) \
if (name##_COUNT + needed >= name##_CAP || name == NULL) { \

View File

@ -38,7 +38,7 @@ typedef char buffer_t;
# include <sys/epoll.h>
/* max events for epoll() */
# define MAX_EPOLL_EVENTS 128
//# define LAIKA_USE_EPOLL
# define LAIKA_USE_EPOLL
# endif
# include <errno.h>
# include <unistd.h>