Skip to content

Commit

Permalink
Remove incorrect offsetof definition that shouldn't be needed (#105646)
Browse files Browse the repository at this point in the history
lewing authored Jul 30, 2024
1 parent 4a96990 commit 852420c
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/mono/mono/eglib/glib.h
Original file line number Diff line number Diff line change
@@ -47,10 +47,6 @@
#include <unistd.h>
#endif

#ifndef offsetof
# define offsetof(s_name,n_name) (size_t)(char *)&(((s_name*)0)->m_name)
#endif

#ifdef __cplusplus
#define G_BEGIN_DECLS extern "C" {
#define G_END_DECLS }

0 comments on commit 852420c

Please sign in to comment.