--- a/mem2swap.c +++ b/mem2swap.c @@ -23,6 +23,9 @@ #elif __unix__ #define CMD_FREE "/sbin/sysctl" #define CMD_ARGS "hw.usermem" +#else +#define CMD_FREE "/sbin/sysctl" +#define CMD_ARGS "hw.usermem" #endif int set_limit (int);