diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-19 12:40:38 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-09-19 12:40:38 +0200 |
commit | a65e9de1d016dcf958753233113560008b629aff (patch) | |
tree | f2a1fca689e34a6fc6602f9c60bce40f8eff1b30 /compat/compat.cpp | |
parent | 9ddf5d3ba5024c0266b910365e86c6fa58e9d266 (diff) |
compat: fix build
Diffstat (limited to 'compat/compat.cpp')
-rw-r--r-- | compat/compat.cpp | 4 |
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 |