diff src/s/decosf4-0.h @ 363:972bbb6d6ca2 r21-1-11

Import from CVS: tag r21-1-11
author cvs
date Mon, 13 Aug 2007 10:59:28 +0200
parents 7c94d56991e1
children cc15677e0335
line wrap: on
line diff
--- a/src/s/decosf4-0.h	Mon Aug 13 10:58:41 2007 +0200
+++ b/src/s/decosf4-0.h	Mon Aug 13 10:59:28 2007 +0200
@@ -2,9 +2,15 @@
 
 #include "decosf3-2.h"
 
+/* etext and edata are only available when compiling in non-ANSI mode,
+   while _etext and _edata are always available, hence more portable.
+   This allows `configure --compiler=cc --cflags=-std1' to work. */
+#define etext _etext
+#define edata _edata
+
 #ifndef NOT_C_CODE
-#include "/usr/include/sys/lc_core.h"
-#include "/usr/include/reg_types.h"
+#include "sys/lc_core.h"
+#include "reg_types.h"
 #endif /* C code */
 
 #define re_compile_pattern sys_re_compile_pattern
@@ -24,11 +30,10 @@
 #define regoff_t sys_regoff_t
 #define regmatch_t sys_regmatch_t
 
-/* A perfectly ordinary link wins again - martin 
 #undef C_SWITCH_SYSTEM
 #undef LIBS_SYSTEM
 #undef LIBS_DEBUG
-#define ORDINARY_LINK */
+/* #define ORDINARY_LINK */
 
 #undef SYSTEM_MALLOC