From: dtrg Date: Wed, 26 Jul 2006 18:20:38 +0000 (+0000) Subject: Renamed em.h to occam-em.h to avoid a clash with an ACK module X-Git-Tag: release-6-0-pre-1~63 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=4fd0f0dba421d765570e5a9fad9af31ec39b1fcc;p=ack.git Renamed em.h to occam-em.h to avoid a clash with an ACK module header file. --- diff --git a/lang/occam/comp/code.c b/lang/occam/comp/code.c index e6008bba3..ec4a8e8a7 100644 --- a/lang/occam/comp/code.c +++ b/lang/occam/comp/code.c @@ -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" diff --git a/lang/occam/comp/em.h b/lang/occam/comp/occam-em.h similarity index 92% rename from lang/occam/comp/em.h rename to lang/occam/comp/occam-em.h index 73a27e4b2..33b0c7453 100644 --- a/lang/occam/comp/em.h +++ b/lang/occam/comp/occam-em.h @@ -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();