This commit is contained in:
parent
aa2ff7b2f0
commit
2f3113f55d
11742 changed files with 1223940 additions and 0 deletions
34
unikernel/duniverse/cppo/test/version.cppo
Normal file
34
unikernel/duniverse/cppo/test/version.cppo
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
#if X_VERSION < (123, 0, 0)
|
||||
alligators
|
||||
#error ""
|
||||
#else
|
||||
Cape buffalos
|
||||
#endif
|
||||
|
||||
#define v X_VERSION
|
||||
#if v = (X_MAJOR, X_MINOR, X_PATCH)
|
||||
onion rings
|
||||
#else
|
||||
gazpacho
|
||||
#error ""
|
||||
#endif
|
||||
|
||||
major: X_MAJOR
|
||||
minor: X_MINOR
|
||||
patch: X_PATCH
|
||||
|
||||
#ifdef X_PRERELEASE
|
||||
prerelease: X_PRERELEASE
|
||||
#else
|
||||
#error ""
|
||||
#endif
|
||||
|
||||
#ifdef X_BUILD
|
||||
build: X_BUILD
|
||||
#else
|
||||
#error ""
|
||||
#endif
|
||||
|
||||
Coq: COQ_VERSION
|
||||
|
||||
OCaml pre-release: OCAML_PRERELEASE
|
||||
Loading…
Add table
Add a link
Reference in a new issue