Skip to content

Commit bf932c4

Browse files
authored
Build[mqbs_filesystemutil.cpp]: Solaris GCC fix (#839)
Signed-off-by: Evgenii Malygin <emalygin@bloomberg.net>
1 parent 88aba44 commit bf932c4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/groups/mqb/mqbs/mqbs_filesystemutil.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@
178178

179179
// GCC on Solaris 10 cannot find madvise declaration. Providing one explicitly.
180180
#if defined(BSLS_PLATFORM_OS_SOLARIS) && defined(BSLS_PLATFORM_CMP_GNU)
181-
extern "C" int madvise(caddr_t, size_t, int);
181+
extern "C" int madvise(void*, size_t, int);
182182
#endif
183183

184184
namespace BloombergLP {

0 commit comments

Comments
 (0)