Skip to content

Commit

Permalink
lib/libwamr: use unikraft __offsetof for offsetof
Browse files Browse the repository at this point in the history
Signed-off-by: Robert Klink <roberthklink@gmail.com>
Signed-off-by: Ricardo Mohamedhoesein <rmohamedhoesein3@gmail.com>
  • Loading branch information
R0mbertus committed Jul 15, 2023
1 parent cd84b70 commit 75b176d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions include/bh_platform.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ typedef int bh_socket_t;
# define NULL ((void*) 0)
#endif

#define offsetof __offsetof

#define bh_assert assert

extern int b_memcpy_s(void * s1, unsigned int s1max, const void * s2,
Expand Down

0 comments on commit 75b176d

Please sign in to comment.