------- Comment #8 from sje at cup dot hp dot com 2008-10-20 15:02 ------- With respect to comment #5, the problem isn't changing the library side. It is changing the compiler side. The compiler, as near as I can tell, doesn't declare the structure the way the library does but builds offsets based on the type information in ioparm.def. Is is these offsets that need to change and ioparm.def can't be ifdef'ed as is. We would need to add an explicit preprocessing of the file or add code to the compiler to adjust the offsets after creating them from ioparm.def
-- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37839