xref: /haiku/headers/private/libroot/system_revision.h (revision b46615c55ad2c8fe6de54412055a0713da3d610a)
1 /*
2  * Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _LIBROOT_SYSTEM_REVISION_H
6 #define _LIBROOT_SYSTEM_REVISION_H
7 
8 
9 /** The length of the system revision character array symbol living in libroot
10     and the kernel */
11 #define SYSTEM_REVISION_LENGTH 128
12 
13 
14 #ifdef __cplusplus
15 extern "C" {
16 #endif
17 
18 
19 /** returns the system revision */
20 #ifdef _KERNEL_MODE
21 const char* get_haiku_revision(void);
22 #else
23 const char* __get_haiku_revision(void);
24 #endif
25 
26 
27 #ifdef __cplusplus
28 }
29 #endif
30 
31 
32 #endif	/* _LIBROOT_SYSTEM_REVISION_H */
33