summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2019-06-28 20:32:32 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2019-06-28 20:32:32 +0200
commit852c9d13e51ea60230dd18c9a29c614973fda963 (patch)
tree4e9103785fda7940e4bf766b4f93dd8af37610a3 /test
parent3d106fc0baee9659ab7ae2c51e3c0255d96d62e6 (diff)
Fix inclusion of semaphore.h is hardcoded to glibc non-multiarch - aka rename sempahore.h to sem.h
Diffstat (limited to 'test')
-rw-r--r--test/Makefile.am8
-rw-r--r--test/semaphoretest.cc2
2 files changed, 5 insertions, 5 deletions
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 <chrono>
#include <iostream>
-#include "../src/semaphore.h"
+#include "../src/sem.h"
std::chrono::nanoseconds dist(const std::chrono::duration<float>& a,
const std::chrono::duration<float>& b)