diff --git a/src/system/glue/haiku_version_glue.c b/src/system/glue/haiku_version_glue.c new file mode 100644 index 0000000000..a058a72cb9 --- /dev/null +++ b/src/system/glue/haiku_version_glue.c @@ -0,0 +1,16 @@ +/* + * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de. All rights reserved. + * Distributed under the terms of the MIT License. + */ + +#include + +#include + + +// Haiku API and ABI versions -- we compile those into shared objects so that +// the runtime loader can discriminate the versions and enable compatibility +// work-arounds, if necessary. + +uint32 B_SHARED_OBJECT_HAIKU_VERSION_VARIABLE = B_HAIKU_VERSION; +uint32 B_SHARED_OBJECT_HAIKU_ABI_VARIABLE = B_HAIKU_ABI;