summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-06 12:50:12 -0700
committerH. Peter Anvin (Intel) <hpa@zytor.com>2020-07-06 12:50:12 -0700
commit1348627b72f97585e515fef1307af3d0dd1111a5 (patch)
treee53ca79bb89f73b1b165212e0ef688d6119ec778
parent30844a4c628c121e26955f9e1e9eb5fa2e7f87d9 (diff)
downloadnasm-1348627b72f97585e515fef1307af3d0dd1111a5.tar.gz
compiler.h: add missing #endif
Embarrassing: missing #endif Signed-off-by: H. Peter Anvin (Intel) <hpa@zytor.com>
-rw-r--r--include/compiler.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/compiler.h b/include/compiler.h
index e289aece..30b8e509 100644
--- a/include/compiler.h
+++ b/include/compiler.h
@@ -202,6 +202,7 @@ typedef enum bool { false, true } bool;
# else
/* Fallback, technically non-portable if p is uninitialized. */
# define offsetin(p,m) ((const char *)&((p).m) - (const char *)&(p))
+# endif
#endif
/* The container_of construct: if p is a pointer to member m of