Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
infradig committed Oct 17, 2023
1 parent 0a989ba commit d99d2a6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/builtins.h
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,12 @@ inline static cell *get_raw_arg(const query *q, int n)
} \
}

#ifdef _WIN32
#ifndef errno
#define errno WSAGetLastError()
#endif
#endif

inline static bool START_FUNCTION(query *q)
{
extern bool throw_error(query *q, cell *c, pl_idx c_ctx, const char *err_type, const char *expected);
Expand Down

0 comments on commit d99d2a6

Please sign in to comment.