--- screen-4.0.2.orig/misc.c
+++ screen-4.0.2/misc.c
@@ -613,11 +613,11 @@
*/
# endif /* NEEDSETENV */
#else /* USESETENV */
-# if defined(linux) || defined(__convex__) || (BSD >= 199103)
+# if defined(__GLIBC__) || defined(__convex__) || (BSD >= 199103)
setenv(var, value, 1);
# else
setenv(var, value);
-# endif /* linux || convex || BSD >= 199103 */
+# endif /* __GLIBC__ || convex || BSD >= 199103 */
#endif /* USESETENV */
}