bfs_shell: fix gcc2 build

Fix regression that building Haiku on 32 bit Haiku become not possible.

Change-Id: I527a8c3bc3ad4744d5515a76888d5cac06293cbe
Reviewed-on: https://review.haiku-os.org/c/haiku/+/5750
Tested-by: Commit checker robot <[email protected]>
Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
X512
2022-11-02 16:21:43 +00:00
committed by waddlesplash
parent c95c18768b
commit ede527512e
2 changed files with 4 additions and 0 deletions
+2
View File
@@ -49,6 +49,8 @@ enum fssh_node_flavor {
#define fssh_offsetof(type,member) ((size_t)&((type*)0)->member)
#endif
#define fssh_alignof(type) __alignof__(type)
#define fssh_min_c(a,b) ((a)>(b)?(b):(a))
#define fssh_max_c(a,b) ((a)>(b)?(a):(b))