process_shared/ext/helper/extconf.rb

15 lines
290 B
Ruby
Raw Permalink Normal View History

require 'mkmf'
have_header('fcntl.h')
have_header('sys/mman.h')
have_header('semaphore.h')
have_type('sem_t', 'semaphore.h')
have_header('pthread.h')
have_type('pthread_mutex_t', 'pthread.h')
have_type('pthread_mutexattr_t', 'pthread.h')
create_makefile('process_shared/posix/helper')