diff options
author | Eric Wong <normalperson@yhbt.net> | 2010-03-13 00:08:37 -0800 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2010-03-13 00:09:29 -0800 |
commit | 74e1f75b238416d9ac402f291431a5e457ae313f (patch) | |
tree | d44fa0016c077096638e398073eb118b886d7b22 /ext | |
parent | 9881f136858ac8f3a77a6cea8ce15b1cdb4ad55a (diff) | |
download | ruby_posix_mq-74e1f75b238416d9ac402f291431a5e457ae313f.tar.gz |
There's a good chance they're not using GCC if they're on some weird platform that we'd emit a warning for.
Diffstat (limited to 'ext')
-rw-r--r-- | ext/posix_mq/posix_mq.c | 3 |
1 files changed, 0 insertions, 3 deletions
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; |