diff src/s/decosf4-0.h @ 58:8b0bdfdf0cf0 r19-16-pre4

Import from CVS: tag r19-16-pre4
author cvs
date Mon, 13 Aug 2007 08:58:37 +0200
parents 0293115a14e9
children 131b0175ea99
line wrap: on
line diff
--- a/src/s/decosf4-0.h	Mon Aug 13 08:58:21 2007 +0200
+++ b/src/s/decosf4-0.h	Mon Aug 13 08:58:37 2007 +0200
@@ -25,8 +25,16 @@
 #define regmatch_t sys_regmatch_t
 
 #define SYSTEM_MALLOC
-#define HAVE_RENAME
+#define HAVE_RENAME 1
 
 /* Digital Unix 4.0 has a realpath, but it's buggy.  And I
    *do* mean buggy. */
 #undef HAVE_REALPATH
+
+/* With -std1 we get more ansified compilation. */
+#undef C_SWITCH_SYSTEM
+#ifdef __GNUC__
+# define C_SWITCH_SYSTEM -D_BSD
+#else
+# define C_SWITCH_SYSTEM -std1 -D_BSD
+#endif