Skip to content

Commit

Permalink
Fixed support for 32-bit x86 Windows (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
KarlLudwig3485 authored Jan 23, 2025
1 parent fa2fc08 commit a573169
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -1901,7 +1901,7 @@ From http://linux.die.net/man/2/setrlimit, here is form of struct returned by ge
*/
void set_stacklimit_restart(char *argv[])
{
#if defined(OS_TYPE_LINUX) && defined(CPU_IS_X86) // CPU_IS_X86 (platform.h) == '32-bit x86'.
#if !defined(__MINGW32__) && defined(OS_TYPE_LINUX) && defined(CPU_IS_X86) // CPU_IS_X86 (platform.h) == '32-bit x86'.
struct rlimit stack_limits;

if (getrlimit(RLIMIT_STACK, &stack_limits)) {
Expand Down

0 comments on commit a573169

Please sign in to comment.