summaryrefslogtreecommitdiffhomepage
path: root/compat
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-09-19 12:40:38 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-09-19 12:40:38 +0200
commita65e9de1d016dcf958753233113560008b629aff (patch)
treef2a1fca689e34a6fc6602f9c60bce40f8eff1b30 /compat
parent9ddf5d3ba5024c0266b910365e86c6fa58e9d266 (diff)
compat: fix build
Diffstat (limited to 'compat')
-rw-r--r--compat/compat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat/compat.cpp b/compat/compat.cpp
index f6261738..7d9f9357 100644
--- a/compat/compat.cpp
+++ b/compat/compat.cpp
@@ -61,10 +61,10 @@ PortableLockedShm::PortableLockedShm(const char *shmName, const char *mutexName,
mem = (void*) -1;
}
-PortableLockedShm::success()
+bool PortableLockedShm::success()
{
#ifndef _WIN32
- return (void*) mem != (void*) -1
+ return (void*) mem != (void*) -1;
#else
return (void*) mem != NULL;
#endif