Would a cast to complex_t work instead? The reason I ask is to avoid having #ifdef's in the code.