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:
DarkWyrm 2006-08-03 18:28:52 +00:00
parent 57cbc95a2f
commit 374fa7fc08
2 changed files with 12 additions and 12 deletions

View File

@ -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

View File

@ -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,