compilation on Windows
see inline comments
why not just use primap since you declare the content below?
good catch :)
can we make the above super call shared? so hav the #else/#endif around the above getpriority (or the below linux version)
so basically above a #ifdef _WIN32 ... #else ... #endif then return .... super...; so the if (!p) or if (errno != 0) is the last line in the #ifdef before the return that's outside (and shared).
why don't you use primap to map this like the linux code - just walk the primap array and map it to the right efl one... :) in fact a quick think... the same for loop for primap walking should work for both windows and linux... so no need to duplicate and have this for loop be shared