Skip to content

Commit

Permalink
Merge pull request #267 from elmarco/check-version
Browse files Browse the repository at this point in the history
Fix GRAPHENE_CHECK_VERSION
  • Loading branch information
ebassi authored Aug 12, 2024
2 parents d03fb3d + 65584ba commit f1575a9
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions include/graphene-version-macros.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,9 @@
GRAPHENE_MICRO_VERSION)

#define GRAPHENE_CHECK_VERSION(major,minor,micro) \
((major) > GRAPHENE_MAJOR_VERSION || \
(major) == GRAPHENE_MAJOR_VERSION && (minor) > GRAPHENE_MINOR_VERSION || \
(major) == GRAPHENE_MAJOR_VERSION && (minor) == GRAPHENE_MINOR_VERSION && (micro) >= GRAPHENE_MICRO_VERSION)
(GRAPHENE_MAJOR_VERSION > (major) || \
GRAPHENE_MAJOR_VERSION == (major) && GRAPHENE_MINOR_VERSION > (minor) || \
GRAPHENE_MAJOR_VERSION == (major) && GRAPHENE_MINOR_VERSION == (minor) && GRAPHENE_MICRO_VERSION >= (micro))

/* evaluates to the current stable release; for development cycles
* this means the next stable target.
Expand Down

0 comments on commit f1575a9

Please sign in to comment.