From 32ddd96972301a03dc0d594bda76da426785e722 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Mon, 18 Apr 2016 22:26:02 +0200 Subject: Remove obsolete/redundant FLEXIBLE_ARRAY macro This macro is doubly redundant, first off all, ancient GCCs prior to version 3.0 are not supported anymore, but more importantly, we require a ISO C99 compliant compiler, so we can use the proper ISO C syntax without worrying about compatibility. Reviewers: austin, bgamari Reviewed By: bgamari Subscribers: carter, thomie Differential Revision: https://phabricator.haskell.org/D2121 --- includes/Rts.h | 9 --------- 1 file changed, 9 deletions(-) (limited to 'includes/Rts.h') diff --git a/includes/Rts.h b/includes/Rts.h index 6f4f33effc..1ad1bba5f8 100644 --- a/includes/Rts.h +++ b/includes/Rts.h @@ -40,15 +40,6 @@ extern "C" { #include "rts/Types.h" -#if __GNUC__ >= 3 -/* Assume that a flexible array member at the end of a struct - * can be defined thus: T arr[]; */ -#define FLEXIBLE_ARRAY -#else -/* Assume that it must be defined thus: T arr[0]; */ -#define FLEXIBLE_ARRAY 0 -#endif - #if __GNUC__ >= 3 #define ATTRIBUTE_ALIGNED(n) __attribute__((aligned(n))) #else -- cgit v1.2.1