2011-05-10 19:35:04 +04:00
|
|
|
/*
|
|
|
|
* Copyright 2011, Oliver Tappe <zooey@hirschkaefer.de>.
|
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
2011-05-15 20:33:30 +04:00
|
|
|
#ifndef _LIBROOT_SYSTEM_REVISION_H
|
|
|
|
#define _LIBROOT_SYSTEM_REVISION_H
|
2011-05-10 19:35:04 +04:00
|
|
|
|
|
|
|
|
|
|
|
/** The length of the system revision character array symbol living in libroot
|
|
|
|
and the kernel */
|
|
|
|
#define SYSTEM_REVISION_LENGTH 128
|
|
|
|
|
|
|
|
|
2011-05-14 00:38:14 +04:00
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
/** returns the system revision */
|
2011-05-15 20:33:30 +04:00
|
|
|
#ifdef _KERNEL_MODE
|
|
|
|
const char* get_haiku_revision(void);
|
|
|
|
#else
|
|
|
|
const char* __get_haiku_revision(void);
|
|
|
|
#endif
|
2011-05-14 00:38:14 +04:00
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
2011-05-15 20:33:30 +04:00
|
|
|
#endif /* _LIBROOT_SYSTEM_REVISION_H */
|