From 74e1f75b238416d9ac402f291431a5e457ae313f Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 13 Mar 2010 00:08:37 -0800 Subject: remove non-portable #warning CPP directive There's a good chance they're not using GCC if they're on some weird platform that we'd emit a warning for. --- ext/posix_mq/posix_mq.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'ext/posix_mq/posix_mq.c') diff --git a/ext/posix_mq/posix_mq.c b/ext/posix_mq/posix_mq.c index dc23a8d..80943fb 100644 --- a/ext/posix_mq/posix_mq.c +++ b/ext/posix_mq/posix_mq.c @@ -23,7 +23,6 @@ #elif defined(HAVE___MQ_OSHANDLE) /* FreeBSD */ # define MQD_TO_FD(mqd) __mq_oshandle(mqd) #else -# warning mqd_t is not select()-able on your OS # define MQ_IO_MARK(mq) ((void)(0)) # define MQ_IO_SET(mq,val) ((void)(0)) #endif @@ -741,8 +740,6 @@ static void setup_notify_io(struct sigevent *not, VALUE io) goto err; #ifdef PTHREAD_STACK_MIN (void)pthread_attr_setstacksize(&attr, PTHREAD_STACK_MIN); -#else -# warning PTHREAD_STACK_MIN not available, #endif not->sigev_notify = SIGEV_THREAD; not->sigev_notify_function = thread_notify_fd; -- cgit v1.2.3-24-ge0c7