Skip to content

intel/ppgtt: Use getpagesize fallback with MinGW

Vinson Lee requested to merge vlee/piglit:fix-ppgtt_memory_alignment-mingw into main

Fix MinGW build error.

tests/general/ppgtt_memory_alignment.c: In function 'piglit_init': tests/general/ppgtt_memory_alignment.c:99:40: error: implicit declaration of function 'getpagesize' [-Wimplicit-function-declaration] 99 | const unsigned int page_size = getpagesize(); | ^~~~~~~~~~~

Signed-off-by: Vinson Lee vlee@freedesktop.org

Merge request reports