Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ical_file.cmake: Fix ICAL_CHECK_VERSION macro #335

Merged
merged 1 commit into from Mar 24, 2018

Commits on Mar 23, 2018

  1. ical_file.cmake: Fix ICAL_CHECK_VERSION macro

    The inclusion of the icalversion.h header in ical.h breaks the
    ICAL_CHECK_VERSION macro because all the \ line continuation characters
    are converted to ;. This makes the macro useless. Wrapping for the sake
    of readability, it currently looks like this:
    
      #define ICAL_CHECK_VERSION(major,minor,micro) ; (ICAL_MAJOR_VERSION >
      (major) || ; (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION >
      (minor)) || ; (ICAL_MAJOR_VERSION == (major) && ICAL_MINOR_VERSION ==
      (minor) && ; ICAL_MICRO_VERSION >= (micro)))
    
    Setting the STRINGS NEWLINE_CONSUME option keeps the original structure
    instead of terminating the lines.
    dbnicholson committed Mar 23, 2018
    Configuration menu
    Copy the full SHA
    71f736a View commit details
    Browse the repository at this point in the history