Open uvlad7 opened 2 weeks ago
The problem is here. Define is incorrect when header has slash
c.have_header?("sys/mman.h")
gcc -fexceptions -O -fno-omit-frame-pointer -fno-strict-aliasing -fPIC -DHAVE_MEMFD_CREATE\=1 -DHAVE_SYS/MMAN_H\=1 -o x86_64-linux/memfd.o -c ./memfd.c <command-line>: warning: ISO C99 requires whitespace after the macro name
Pls reuse mkmf
The problem is here. Define is incorrect when header has slash
Pls reuse mkmf