1 #ifndef LIBUVC_CONFIG_H
2 #define LIBUVC_CONFIG_H
4 #define LIBUVC_VERSION_MAJOR @libuvc_VERSION_MAJOR@
5 #define LIBUVC_VERSION_MINOR @libuvc_VERSION_MINOR@
6 #define LIBUVC_VERSION_PATCH @libuvc_VERSION_PATCH@
7 #define LIBUVC_VERSION_STR "@libuvc_VERSION@"
8 #define LIBUVC_VERSION_INT \
9 ((@libuvc_VERSION_MAJOR@ << 16) | \
10 (@libuvc_VERSION_MINOR@ << 8) | \
11 (@libuvc_VERSION_PATCH@))
13 /** @brief Test whether libuvc is new enough
14 * This macro evaluates true iff the current version is
15 * at least as new as the version specified.
17 #define LIBUVC_VERSION_GTE(major, minor, patch) \
18 (LIBUVC_VERSION_INT >= (((major) << 16) | ((minor) << 8) | (patch)))
20 #cmakedefine LIBUVC_HAS_JPEG 1
22 #endif // !def(LIBUVC_CONFIG_H)