From 852c9d13e51ea60230dd18c9a29c614973fda963 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Fri, 28 Jun 2019 20:32:32 +0200 Subject: Fix inclusion of semaphore.h is hardcoded to glibc non-multiarch - aka rename sempahore.h to sem.h --- test/Makefile.am | 8 ++++---- test/semaphoretest.cc | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test') diff --git a/test/Makefile.am b/test/Makefile.am index 80ff73a..056c111 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -44,7 +44,7 @@ audiocache_SOURCES = \ $(top_srcdir)/src/audiocachefile.cc \ $(top_srcdir)/src/audiocacheidmanager.cc \ $(top_srcdir)/src/thread.cc \ - $(top_srcdir)/src/semaphore.cc \ + $(top_srcdir)/src/sem.cc \ $(top_srcdir)/src/audiofile.cc \ $(top_srcdir)/src/random.cc \ dgtest.cc \ @@ -58,7 +58,7 @@ audiocachefile_LDFLAGS = $(PTHREAD_LIBS) $(SNDFILE_LIBS) audiocachefile_SOURCES = \ $(top_srcdir)/src/audiocachefile.cc \ $(top_srcdir)/src/thread.cc \ - $(top_srcdir)/src/semaphore.cc \ + $(top_srcdir)/src/sem.cc \ $(top_srcdir)/src/audiofile.cc \ $(top_srcdir)/src/random.cc \ dgtest.cc \ @@ -85,7 +85,7 @@ audiocacheeventhandler_SOURCES = \ $(top_srcdir)/src/audiocacheidmanager.cc \ $(top_srcdir)/src/audiocachefile.cc \ $(top_srcdir)/src/thread.cc \ - $(top_srcdir)/src/semaphore.cc \ + $(top_srcdir)/src/sem.cc \ dgtest.cc \ audiocacheeventhandlertest.cc @@ -165,7 +165,7 @@ semaphoretest_CXXFLAGS = -DOUTPUT=\"semaphoretest\" \ semaphoretest_LDFLAGS = $(PTHREAD_LIBS) semaphoretest_SOURCES = \ $(top_srcdir)/hugin/hugin.c \ - $(top_srcdir)/src/semaphore.cc \ + $(top_srcdir)/src/sem.cc \ semaphoretest.cc \ dgtest.cc diff --git a/test/semaphoretest.cc b/test/semaphoretest.cc index c99e9a6..470b5a0 100644 --- a/test/semaphoretest.cc +++ b/test/semaphoretest.cc @@ -31,7 +31,7 @@ #include #include -#include "../src/semaphore.h" +#include "../src/sem.h" std::chrono::nanoseconds dist(const std::chrono::duration& a, const std::chrono::duration& b) -- cgit v1.2.3