Xenomai API  2.6.5
version.h
1 /*
2  * Copyright (C) 2001,2002,2003 Philippe Gerum <[email protected]>.
3  *
4  * Xenomai is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published
6  * by the Free Software Foundation; either version 2 of the License,
7  * or (at your option) any later version.
8  *
9  * Xenomai is distributed in the hope that it will be useful, but
10  * WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12  * General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with Xenomai; if not, write to the Free Software
16  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
17  * 02111-1307, USA.
18  */
19 
20 #ifndef _XENO_NUCLEUS_VERSION_H
21 #define _XENO_NUCLEUS_VERSION_H
22 
23 #define XENO_VERSION(maj,min,rev) (((maj)<<16)|((min)<<8)|(rev))
24 
25 #define XENO_VERSION_CODE XENO_VERSION(CONFIG_XENO_VERSION_MAJOR, \
26  CONFIG_XENO_VERSION_MINOR, \
27  CONFIG_XENO_REVISION_LEVEL)
28 
29 #define XENO_VERSION_NAME "Lost in a Memory"
30 
31 #define XENO_VERSION_STRING "2.6.5"
32 
33 #endif /* _XENO_NUCLEUS_VERSION_H */