Skip to content

Commit 196526a

Browse files
committed
Enable Yices 2.6.4 features in Windows JNI
1 parent 0cf91c3 commit 196526a

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/main/java/com/sri/yices/yicesJNIforWindows.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,15 @@
2121
#define YICES_AT_LEAST_2_6_2
2222
#endif
2323

24+
#if __YICES_VERSION > 2 || \
25+
(__YICES_VERSION == 2 && (__YICES_VERSION_MAJOR > 6 || \
26+
(__YICES_VERSION_MAJOR == 6 && \
27+
__YICES_VERSION_PATCHLEVEL > 3)))
28+
#define YICES_AT_LEAST_2_6_4
29+
#endif
30+
2431
#define YICES_ERROR_REQUIRES_AT_LEAST_2_6_2 -262
32+
#define YICES_ERROR_REQUIRES_AT_LEAST_2_6_4 -264
2533

2634
/**
2735
* Assumes that for each __YICES_VERSION __YICES_VERSION_MAJOR and __YICES_VERSION_PATCHLEVEL

0 commit comments

Comments
 (0)