Skip to content

Commit

Permalink
feat: export TIMEOUT_INFINITE constant (Windows INFINITE)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacopodl committed Nov 22, 2023
1 parent 6db8ca2 commit 6a9693e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions argon/vm/mod/os.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -950,6 +950,9 @@ bool OSInit(Module *self) {
AddUIntConstant((ArSize) INVALID_HANDLE_VALUE);

AddIntConstant(STILL_ACTIVE);

if (!ModuleAddIntConstant(self, "TIMEOUT_INFINITE", INFINITE))
return false;
#endif

AddIntConstant(EXIT_SUCCESS);
Expand Down

0 comments on commit 6a9693e

Please sign in to comment.