[LTP] [PATCH] open_posix_testsuite: Avoid non portable GCC extensions for other compiler

Detlef Riekenberg wine.dev@web.de
Tue Apr 30 01:53:51 CEST 2024


The GCC extension "__attribute__" breaks other compiler and produces 458 test failures.
(I tested with owcc from OpenWatcom)


This patch adds a guard around the defines.


--
Regards ... Detlef

Signed-off-by: Detlef Riekenberg <wine.dev@web.de>
---
 .../open_posix_testsuite/include/posixtest.h  | 27 ++++++++++++++++---
 1 file changed, 24 insertions(+), 3 deletions(-)



More information about the ltp mailing list