Modified ioapi.h for missing macro