~kyrofa/unity-scope-snappy/integration-tests_previews

« back to all changes in this revision

Viewing changes to internal/launchpad.net/go-unityscopes/v2/version.h

  • Committer: Alejandro J. Cura
  • Date: 2015-06-03 19:46:54 UTC
  • mfrom: (8.1.3 ci_integration)
  • Revision ID: alecu@canonical.com-20150603194654-h4rnrkmefnmgsj49
MergingĀ lp:~kyrofa/unity-scope-snappy/ci_integration

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef UNITYSCOPE_GO_VERSION_H
 
2
#define UNITYSCOPE_GO_VERSION_H
 
3
 
 
4
#include <unity/scopes/Version.h>
 
5
 
 
6
// check that we have a compatible version of lib-unityscopes installed
 
7
static_assert(UNITY_SCOPES_VERSION_MAJOR > 0 ||
 
8
             (UNITY_SCOPES_VERSION_MAJOR == 0 && (UNITY_SCOPES_VERSION_MINOR > 6 || (UNITY_SCOPES_VERSION_MINOR == 6 && UNITY_SCOPES_VERSION_MICRO >= 15))),
 
9
              "Version of Unity scopes API mismatch. Minimum required version is 0.6.15.");
 
10
 
 
11
#endif