Sylvain Beucler <[EMAIL PROTECTED]> writes: > I think this makes it difficult to order the #include statements > correctly.
Yes, that's true. One workaround would be to have SDL_rwops.h include unistd.h before defining its 'close' member. Admittedly not everyone likes such workarounds. A problem with using function-style macros is that they don't work with programs that use functions like 'close' without calling them, e.g., they pass 'close' as an argument to some other function.
