compiler.h: add missing #endif

Embarrassing: missing #endif

Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
This commit is contained in:
H. Peter Anvin (Intel) 2020-07-06 12:50:12 -07:00
parent 30844a4c62
commit 1348627b72

View File

@ -202,6 +202,7 @@ typedef enum bool { false, true } bool;
# else # else
/* Fallback, technically non-portable if p is uninitialized. */ /* Fallback, technically non-portable if p is uninitialized. */
# define offsetin(p,m) ((const char *)&((p).m) - (const char *)&(p)) # define offsetin(p,m) ((const char *)&((p).m) - (const char *)&(p))
# endif
#endif #endif
/* The container_of construct: if p is a pointer to member m of /* The container_of construct: if p is a pointer to member m of