Skip to content

Commit 01c4b82

Browse files
authored
Update memory.c
1 parent 93db123 commit 01c4b82

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

driver/others/memory.c

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -150,12 +150,9 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
150150
#elif __GNUC__ && INIT_PRIORITY && ((GCC_VERSION >= 40300) || (CLANG_VERSION >= 20900))
151151
#define CONSTRUCTOR __attribute__ ((constructor(101)))
152152
#define DESTRUCTOR __attribute__ ((destructor(101)))
153-
#elif __GNUC__ && INIT_PRIORITY
153+
#else
154154
#define CONSTRUCTOR __attribute__ ((constructor))
155155
#define DESTRUCTOR __attribute__ ((destructor))
156-
#else
157-
#define CONSTRUCTOR
158-
#define DESTRUCTOR
159156
#endif
160157

161158
#ifdef DYNAMIC_ARCH

0 commit comments

Comments
 (0)