Retro68 icon indicating copy to clipboard operation
Retro68 copied to clipboard

Include order is wrong

Open Midar opened this issue 3 years ago • 0 comments

It seems that lib/gcc/m68k-apple-macos/9.1.0/include-fixed/limits.h gets included instead of m68k-apple-macos/include/limits.h when using #include <limits.h>. The latter has an #include_next for the former, so they need to be swapped in include search order so that both get used.. The result of the wrong order is that PATH_MAX is undefined.

Midar avatar Nov 25 '22 19:11 Midar