]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - scripts/gcc-plugins/gcc-common.h
gcc-plugins: Add the randstruct plugin
[mirror_ubuntu-bionic-kernel.git] / scripts / gcc-plugins / gcc-common.h
index 918953ca45274328dddf1b965d66d6294c2d5d54..6948898b3cdf8632e7a2b6c1bbe0530ea042c1ca 100644 (file)
@@ -953,4 +953,9 @@ static inline void debug_gimple_stmt(const_gimple s)
        get_inner_reference(exp, pbitsize, pbitpos, poffset, pmode, punsignedp, preversep, pvolatilep)
 #endif
 
+#if BUILDING_GCC_VERSION < 7000
+#define SET_DECL_ALIGN(decl, align)    DECL_ALIGN(decl) = (align)
+#define SET_DECL_MODE(decl, mode)      DECL_MODE(decl) = (mode)
+#endif
+
 #endif