Loading...
Searching...
No Matches
riot_version.h
Go to the documentation of this file.
1/*
2 * Copyright (C) 2014 Freie Universität Berlin
3 * 2017 HAW-Hamburg
4 *
5 * This file is subject to the terms and conditions of the GNU Lesser
6 * General Public License v2.1. See the file LICENSE in the top level
7 * directory for more details.
8 */
9
21#ifndef RIOT_VERSION_H
22#define RIOT_VERSION_H
23
24#include <stdint.h>
25
26#ifdef __cplusplus
27extern "C" {
28#endif
29
55#define RIOT_VERSION_NUM(major, minor, patch, extra) \
56 (((0ULL + major) << 48) + ((0ULL + minor) << 32) + \
57 ((0ULL + patch) << 16) + (extra))
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif /* RIOT_VERSION_H */