fix AtomLength clash
This commit is contained in:
parent
b85f9d1d54
commit
5ce8d637ef
@ -124,6 +124,9 @@ void PL_license(const char *license, const char *module);
|
||||
#define isVar(A) YAP_IsVarTerm((A))
|
||||
#define valReal(w) YAP_FloatOfTerm((w))
|
||||
#define valFloat(w) YAP_FloatOfTerm((w))
|
||||
#ifdef AtomLength /* there is another AtomLength in the system */
|
||||
#undef AtomLength
|
||||
#endif
|
||||
#define AtomLength(w) YAP_AtomNameLength(w)
|
||||
#define atomValue(atom) YAP_AtomFromSWIAtom(atom)
|
||||
#define atomFromTerm(term) YAP_SWIAtomFromAtom(YAP_AtomOfTerm(term))
|
||||
|
Reference in New Issue
Block a user