Is there a preprocessor define that tells me that I'm building with LSB, perchance? I need to use fcloseall(), and I've already written a replacement function for platforms that don't support it - but if I'm on Linux I need to know whether to use the glibc version or my version.