⛏️ index : haiku.git

author PulkoMandy <pulkomandy@pulkomandy.tk> 2025-12-01 21:16:16.0 +01:00:00
committer Adrien Destugues <pulkomandy@pulkomandy.tk> 2025-12-09 10:08:25.0 +00:00:00
commit
172caabf4d162471c9b0e96c0bb1a481fc866706 [patch]
tree
ec4d6b2b848f5319d7c3a3e9d39f47835f7159de
parent
cf930b7e6c1ec2b0fef6815a3cf1a5f1d6652c9d
download
172caabf4d162471c9b0e96c0bb1a481fc866706.tar.gz

BitUtils: fix gcc2 build

Change-Id: Ib347785c466df7df3f40c4781bb46f6fc12ef647
Reviewed-on: https://review.haiku-os.org/c/haiku/+/10046
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>

Diff

 headers/os/BeBuild.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/headers/os/BeBuild.h b/headers/os/BeBuild.h
index c42b8c9..fc2728e 100644
--- a/headers/os/BeBuild.h
+++ b/headers/os/BeBuild.h
@@ -98,6 +98,10 @@
#endif
#define _IMPORT

#ifndef __has_builtin
#define __has_builtin(x) 0
#endif

#define B_DEFINE_SYMBOL_VERSION(function, versionedSymbol)	\
	__asm__(".symver " function "," versionedSymbol)