Message ID | 20240201162000.913015-1-denkenz@gmail.com (mailing list archive) |
---|---|
State | New |
Headers | show |
Series | [RFC] build: Move autodestruct macro definition | expand |
diff --git a/configure.ac b/configure.ac index 0dd569570a75..8d88f1c2a022 100644 --- a/configure.ac +++ b/configure.ac @@ -150,4 +150,6 @@ AC_SUBST(OPENSSL_PROVIDER) AC_CONFIG_FILES(Makefile ell/ell.pc) +AC_DEFINE([_auto_], [__L_AUTODESTRUCT], [autodestruct syntax]) + AC_OUTPUT diff --git a/ell/useful.h b/ell/useful.h index ab88f52556f5..a3d5ad916bd8 100644 --- a/ell/useful.h +++ b/ell/useful.h @@ -59,9 +59,6 @@ static inline unsigned char bit_field(const unsigned char oct, _x / _d; \ }) -#define _auto_(func) \ - __L_AUTODESTRUCT(func) - /* * Trick the compiler into thinking that var might be changed somehow by * the asm