Renamed em.h to occam-em.h to avoid a clash with an ACK module
authordtrg <none@none>
Wed, 26 Jul 2006 18:20:38 +0000 (18:20 +0000)
committerdtrg <none@none>
Wed, 26 Jul 2006 18:20:38 +0000 (18:20 +0000)
header file.

lang/occam/comp/code.c
lang/occam/comp/occam-em.h [moved from lang/occam/comp/em.h with 92% similarity]

index e6008bb..ec4a8e8 100644 (file)
@@ -3,7 +3,7 @@
  * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  * See the copyright notice in the ACK home directory, in the file "Copyright".
  */
-#include "em.h"
+#include "occam-em.h"
 #include "expr.h"
 #include "symtab.h"
 #include "sizes.h"
similarity index 92%
rename from lang/occam/comp/em.h
rename to lang/occam/comp/occam-em.h
index 73a27e4..33b0c74 100644 (file)
@@ -13,6 +13,9 @@ int new_label(), new_dot_label();
 char *proc_label();
 extern char *curr_file;
 
+/* dtrg: hack to avoid clashing with the Posix exp() function. */
+#define exp myexp
+
 void cwv(), cvw();
 void bxx(), Loc(), Lol(), Lolp(), Lil(), Lof(), Lofp(), Lif();
 void Txx(), xxi(), Stl(), Inl(), Del(), Loe();