All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai-core] [PATCH] posix: Fix HAVE_MQUEUE_H check
@ 2009-04-14 13:58 Jan Kiszka
  0 siblings, 0 replies; only message in thread
From: Jan Kiszka @ 2009-04-14 13:58 UTC (permalink / raw)
  To: Philippe Gerum; +Cc: xenomai-core

Please pull from git://git.xenomai.org/xenomai-jki.git for-upstream

------>

Signed-off-by: Jan Kiszka <jan.kiszka@domain.hid>
---

 include/posix/mqueue.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/posix/mqueue.h b/include/posix/mqueue.h
index b5870f9..f4f40c8 100644
--- a/include/posix/mqueue.h
+++ b/include/posix/mqueue.h
@@ -40,7 +40,7 @@
 
 #endif /* !(__KERNEL__ || __XENO_SIM__) */
 
-#if defined(__KERNEL__) || defined(__XENO_SIM__) || !HAVE_MQUEUE
+#if defined(__KERNEL__) || defined(__XENO_SIM__) || !defined(HAVE_MQUEUE_H)
 
 #ifndef MQ_PRIO_MAX
 #define MQ_PRIO_MAX 32768
@@ -104,7 +104,7 @@ int mq_unlink(const char *name);
 }
 #endif
 
-#else /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE) */
+#else /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE_H) */
 
 #include_next <mqueue.h>
 
@@ -155,6 +155,6 @@ int __real_mq_notify(mqd_t mqdes, const struct sigevent *notification);
 }
 #endif
 
-#endif /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE) */
+#endif /* !(__KERNEL__ || __XENO_SIM__ || !HAVE_MQUEUE_H) */
 
 #endif /* _XENO_POSIX_MQUEUE_H */


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2009-04-14 13:58 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-14 13:58 [Xenomai-core] [PATCH] posix: Fix HAVE_MQUEUE_H check Jan Kiszka

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.