Moved Haiku-specific defs for the Translation Kit to the proper file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18377 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
57cbc95a2f
commit
374fa7fc08
@ -49,5 +49,17 @@ extern float roundf(float value);
|
||||
#define B_REDO 'REDO'
|
||||
#endif
|
||||
|
||||
// These are R1-specific extensions
|
||||
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
|
||||
#define B_TRANSLATION_MAKE_VERSION(major,minor,revision) ((major << 8) | ((minor << 4) & 0xf0) | (revision & 0x0f))
|
||||
#define B_TRANSLATION_MAJOR_VERSION(v) (v >> 8)
|
||||
#define B_TRANSLATION_MINOR_VERSION(v) ((v >> 4) & 0xf)
|
||||
#define B_TRANSLATION_REVISION_VERSION(v) (v & 0xf)
|
||||
|
||||
#define B_BAD_DATA (B_NOT_ALLOWED+1)
|
||||
|
||||
#endif
|
||||
|
||||
#endif // HAIKU_BUILD_COMPATIBILITY_H
|
||||
|
||||
|
@ -50,18 +50,6 @@
|
||||
#define max(a,b) ((a > b) ? (a) : (b))
|
||||
#endif
|
||||
|
||||
// These are R1-specific extensions
|
||||
#ifndef HAIKU_TARGET_PLATFORM_HAIKU
|
||||
|
||||
#define B_TRANSLATION_MAKE_VERSION(major,minor,revision) ((major << 8) | ((minor << 4) & 0xf0) | (revision & 0x0f))
|
||||
#define B_TRANSLATION_MAJOR_VERSION(v) (v >> 8)
|
||||
#define B_TRANSLATION_MINOR_VERSION(v) ((v >> 4) & 0xf)
|
||||
#define B_TRANSLATION_REVISION_VERSION(v) (v & 0xf)
|
||||
|
||||
#define B_BAD_DATA (B_NOT_ALLOWED+1)
|
||||
|
||||
#endif
|
||||
|
||||
class BaseTranslator : public BTranslator {
|
||||
public:
|
||||
BaseTranslator(const char *name, const char *info,
|
||||
|
Loading…
x
Reference in New Issue
Block a user