summaryrefslogtreecommitdiff
path: root/cpp/src/tests/PollerTest.cpp
diff options
context:
space:
mode:
authorManuel Teira Paz <mteira@apache.org>2009-03-10 08:19:28 +0000
committerManuel Teira Paz <mteira@apache.org>2009-03-10 08:19:28 +0000
commitc2aa2f3a3c4141dce6232679227861b083a18c1f (patch)
tree494eeb91864babf0ac7592012410e556f1762410 /cpp/src/tests/PollerTest.cpp
parent9b60ec677047daf836c2679294bc1f87c9c76141 (diff)
downloadqpid-python-c2aa2f3a3c4141dce6232679227861b083a18c1f.tar.gz
configure.ac:
- Add a SOCKLIBS definition, to define needed network libraries in Solaris src/tests/failover_soak.cpp - Replace usage of timersub with direct code, since timersub appears to be non-posix. src/tests/Makefile.am - Link against $(SOCKLIBS) when needed src/tests/* - Some qualifying needed for the Sun compiler git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@752019 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/tests/PollerTest.cpp')
-rw-r--r--cpp/src/tests/PollerTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/PollerTest.cpp b/cpp/src/tests/PollerTest.cpp
index 4f11dc5901..5b6b09ef65 100644
--- a/cpp/src/tests/PollerTest.cpp
+++ b/cpp/src/tests/PollerTest.cpp
@@ -74,7 +74,7 @@ int main(int /*argc*/, char** /*argv*/)
try
{
int sv[2];
- int rc = ::socketpair(AF_LOCAL, SOCK_STREAM, 0, sv);
+ int rc = ::socketpair(AF_UNIX, SOCK_STREAM, 0, sv);
assert(rc >= 0);
// Set non-blocking