fix some preprocessor directive
Apparently using `#if defined(X) or defined(Y)` did not trouve the compilers, but Swig was confused by the "or". * spot/misc/common.hh, spot/tl/formula.hh: Use || instead.
This commit is contained in:
parent
27b8e5aa73
commit
342360f8ca
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@
|
|||
// The strong_X operator was introduced in Spot 2.8.2 to fix an issue
|
||||
// with from_ltlf(). As adding a new operator is a backward
|
||||
// incompatibility, causing new warnings from the compiler.
|
||||
#if defined(SPOT_BUILD) or defined(SPOT_USES_STRONG_X)
|
||||
#if defined(SPOT_BUILD) || defined(SPOT_USES_STRONG_X)
|
||||
// Use #if SPOT_HAS_STRONG_X in code that need to be backward
|
||||
// compatible with older Spot versions.
|
||||
# define SPOT_HAS_STRONG_X 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue