[ofw] creating common ib_types.h for linux and windows

Hefty, Sean sean.hefty at intel.com
Mon Sep 19 14:20:08 PDT 2011


It would be easier to maintain opensm on windows if it truly shared the same code base.  For now, I'd just like to start with a common ib_types.h file.  (There are currently hundreds, if not thousands, of lines that differ.)  ib_types.h uses #if defined(__WIN__) to separate linux from windows code.  This isn't actually used, since separate files are maintained anyway.

My question is whether we should continue to use #if defined(__WIN__) or add a new ib_types_osd.h file.  Any preferences from the opensm maintainer side?

- Sean



More information about the ofw mailing list