-#if defined(__HPUX__) || defined(____SVR4____) || defined(__LINUX__) || defined(__sgi ) || \
- defined(__unix__) || defined(sun) || defined(__SUN__)
+#if defined(__unix) || defined(__unix__) || defined(____SVR4____) || \
+ defined(__LINUX__) || defined(__sgi ) || \
+ defined(__hpux) || defined(sun) || defined(__SUN__)
+