From 0f7d5a001075ed08097fba2eb5dea502a91563cb Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Thu, 21 May 2009 15:05:45 +0000 Subject: [PATCH] Should have been part of r30818. The version "glue". git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30819 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/system/glue/haiku_version_glue.c | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/system/glue/haiku_version_glue.c 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;