Balance the #if with an #endif for Solaris #3784