[nasm:nasm-2.15.xx] compiler.h: add missing #endif

nasm-bot for H. Peter Anvin (Intel) hpa at zytor.com
Mon Jul 6 12:51:03 PDT 2020


Commit-ID:  1348627b72f97585e515fef1307af3d0dd1111a5
Gitweb:     http://repo.or.cz/w/nasm.git?a=commitdiff;h=1348627b72f97585e515fef1307af3d0dd1111a5
Author:     H. Peter Anvin (Intel) <hpa at zytor.com>
AuthorDate: Mon, 6 Jul 2020 12:50:12 -0700
Committer:  H. Peter Anvin (Intel) <hpa at zytor.com>
CommitDate: Mon, 6 Jul 2020 12:50:12 -0700

compiler.h: add missing #endif

Embarrassing: missing #endif

Signed-off-by: H. Peter Anvin (Intel) <hpa at zytor.com>


---
 include/compiler.h | 1 +
 1 file changed, 1 insertion(+)

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


More information about the Nasm-commits mailing list