]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Hopefully the last small changes for the drd swapcontext test
authorPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 24 Feb 2021 10:01:13 +0000 (11:01 +0100)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Wed, 24 Feb 2021 10:01:13 +0000 (11:01 +0100)
drd/tests/Makefile.am
drd/tests/swapcontext.c

index a489c8b46dc92d23905264258dc9e9259bc0b620..79e076246b59698ae1106f615af3592415a73fbe 100644 (file)
@@ -590,3 +590,8 @@ endif
 sem_wait_SOURCES            = sem_wait.cpp
 
 swapcontext_SOURCES         = swapcontext.c
+swapcontext_CFLAGS          = $(AM_CFLAGS) -g
+if VGCONF_OS_IS_SOLARIS
+swapcontext_CFLAGS          += -D__EXTENSIONS__
+endif
+
index 6257b6d930733ffb8dc39ae55f839d22d3cb4e3e..cfe0577a3d1dbe6d68989544265bb65c6791b0c7 100644 (file)
@@ -9,7 +9,6 @@
 #include <stdlib.h>
 #include <string.h>
 #include <sys/time.h>
-#include <sys/timerfd.h>
 #include <ucontext.h>
 #include <unistd.h>
 #include "valgrind.h"