source: pacpusframework/trunk/include/Pacpus/predef/version_number.h@ 311

Last change on this file since 311 was 298, checked in by Marek Kurdej, 11 years ago

Added: operating system and compiler identification macros.

File size: 1015 bytes
Line 
1// %pacpus:license{
2// This file is part of the PACPUS framework distributed under the
3// CECILL-C License, Version 1.0.
4// %pacpus:license}
5/// @file
6/// @author Marek Kurdej <firstname.surname@utc.fr>
7/// @date 2014-04-07 10:32:10
8/// @version $Id$
9/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
10/// @brief Brief description.
11///
12/// Detailed description.
13
14#ifndef PACPUS_PREDEF_VERSION_NUMBER_H
15#define PACPUS_PREDEF_VERSION_NUMBER_H
16
17#define PACPUS_VERSION_NUMBER(major,minor,patch) \
18 ( (((major)%100)*10000000) + (((minor)%100)*100000) + ((patch)%100000) )
19
20#define PACPUS_VERSION_NUMBER_MAX \
21 PACPUS_VERSION_NUMBER(99,99,99999)
22
23#define PACPUS_VERSION_NUMBER_ZERO \
24 PACPUS_VERSION_NUMBER(0,0,0)
25
26#define PACPUS_VERSION_NUMBER_MIN \
27 PACPUS_VERSION_NUMBER(0,0,1)
28
29#define PACPUS_VERSION_NUMBER_AVAILABLE \
30 PACPUS_VERSION_NUMBER_MIN
31
32#define PACPUS_VERSION_NUMBER_NOT_AVAILABLE \
33 PACPUS_VERSION_NUMBER_ZERO
34
35#endif // PACPUS_PREDEF_VERSION_NUMBER_H
Note: See TracBrowser for help on using the repository browser.