Skip to contentSkip to conversation

Recent changes

DISCUSSION Bruce Cran 2 participants 2 messages Jan 27, 2011 1 message not in the archive

lore
Share & tools
lore

Bruce Cran

author
#1 lore raw
In reply to a message not in the archive

Review

Quoted 3 lines · On Thu, 27 Jan 2011 06:00:04 +0100 (CET) Jens Axboe <[email protected]> wrote:
(quoted diff) +3 -0
+#define POSIX_MADV_DONTNEED	MADV_DONTNEED
+#define POSIX_MADV_SEQUENTIAL	MADV_SEQUENTIAL
+#define POSIX_MADV_RANDOM	MADV_RANDOM

These are already defined on OpenSolaris 2009.06 and cause redefinition warnings.

Signature · 1 line
Bruce Cran
#2 lore raw
Quoted 9 lines · Bruce Cran

Review

Quoted 3 lines · On Thu, 27 Jan 2011 06:00:04 +0100 (CET) Jens Axboe <[email protected]> wrote:
(quoted diff) +3 -0
+#define POSIX_MADV_DONTNEED	MADV_DONTNEED
+#define POSIX_MADV_SEQUENTIAL	MADV_SEQUENTIAL
+#define POSIX_MADV_RANDOM	MADV_RANDOM

These are already defined on OpenSolaris 2009.06 and cause redefinition warnings.

I wonder why that was broken on Solaris, I'll add an ifdef check.

Signature · 1 line
Jens Axboe