require '_h2ph_pre.ph';

unless(defined(&_POSIX_OPT_H)) {
    eval 'sub _POSIX_OPT_H () {1;}' unless defined(&_POSIX_OPT_H);
    eval 'sub _POSIX_JOB_CONTROL () {1;}' unless defined(&_POSIX_JOB_CONTROL);
    eval 'sub _POSIX_SAVED_IDS () {1;}' unless defined(&_POSIX_SAVED_IDS);
    eval 'sub _POSIX_PRIORITY_SCHEDULING () {200112;}' unless defined(&_POSIX_PRIORITY_SCHEDULING);
    eval 'sub _POSIX_SYNCHRONIZED_IO () {200112;}' unless defined(&_POSIX_SYNCHRONIZED_IO);
    eval 'sub _POSIX_FSYNC () {200112;}' unless defined(&_POSIX_FSYNC);
    eval 'sub _POSIX_MAPPED_FILES () {200112;}' unless defined(&_POSIX_MAPPED_FILES);
    eval 'sub _POSIX_MEMLOCK () {200112;}' unless defined(&_POSIX_MEMLOCK);
    eval 'sub _POSIX_MEMLOCK_RANGE () {200112;}' unless defined(&_POSIX_MEMLOCK_RANGE);
    eval 'sub _POSIX_MEMORY_PROTECTION () {200112;}' unless defined(&_POSIX_MEMORY_PROTECTION);
    eval 'sub _POSIX_CHOWN_RESTRICTED () {1;}' unless defined(&_POSIX_CHOWN_RESTRICTED);
    eval 'sub _POSIX_VDISABLE () {ord(\'\\0\');}' unless defined(&_POSIX_VDISABLE);
    eval 'sub _POSIX_NO_TRUNC () {1;}' unless defined(&_POSIX_NO_TRUNC);
    eval 'sub _XOPEN_REALTIME () {1;}' unless defined(&_XOPEN_REALTIME);
    eval 'sub _XOPEN_REALTIME_THREADS () {1;}' unless defined(&_XOPEN_REALTIME_THREADS);
    eval 'sub _XOPEN_SHM () {1;}' unless defined(&_XOPEN_SHM);
    eval 'sub _POSIX_THREADS () {200112;}' unless defined(&_POSIX_THREADS);
    eval 'sub _POSIX_REENTRANT_FUNCTIONS () {1;}' unless defined(&_POSIX_REENTRANT_FUNCTIONS);
    eval 'sub _POSIX_THREAD_SAFE_FUNCTIONS () {200112;}' unless defined(&_POSIX_THREAD_SAFE_FUNCTIONS);
    eval 'sub _POSIX_THREAD_PRIORITY_SCHEDULING () {200112;}' unless defined(&_POSIX_THREAD_PRIORITY_SCHEDULING);
    eval 'sub _POSIX_THREAD_ATTR_STACKSIZE () {200112;}' unless defined(&_POSIX_THREAD_ATTR_STACKSIZE);
    eval 'sub _POSIX_THREAD_ATTR_STACKADDR () {200112;}' unless defined(&_POSIX_THREAD_ATTR_STACKADDR);
    eval 'sub _POSIX_SEMAPHORES () {200112;}' unless defined(&_POSIX_SEMAPHORES);
    eval 'sub _POSIX_REALTIME_SIGNALS () {200112;}' unless defined(&_POSIX_REALTIME_SIGNALS);
    eval 'sub _POSIX_ASYNCHRONOUS_IO () {200112;}' unless defined(&_POSIX_ASYNCHRONOUS_IO);
    eval 'sub _POSIX_ASYNC_IO () {1;}' unless defined(&_POSIX_ASYNC_IO);
    eval 'sub _LFS_ASYNCHRONOUS_IO () {1;}' unless defined(&_LFS_ASYNCHRONOUS_IO);
    eval 'sub _LFS64_ASYNCHRONOUS_IO () {1;}' unless defined(&_LFS64_ASYNCHRONOUS_IO);
    eval 'sub _LFS_LARGEFILE () {1;}' unless defined(&_LFS_LARGEFILE);
    eval 'sub _LFS64_LARGEFILE () {1;}' unless defined(&_LFS64_LARGEFILE);
    eval 'sub _LFS64_STDIO () {1;}' unless defined(&_LFS64_STDIO);
    eval 'sub _POSIX_SHARED_MEMORY_OBJECTS () {200112;}' unless defined(&_POSIX_SHARED_MEMORY_OBJECTS);
    eval 'sub _POSIX_CPUTIME () {200112;}' unless defined(&_POSIX_CPUTIME);
    eval 'sub _POSIX_THREAD_CPUTIME () {200112;}' unless defined(&_POSIX_THREAD_CPUTIME);
    eval 'sub _POSIX_REGEXP () {1;}' unless defined(&_POSIX_REGEXP);
    eval 'sub _POSIX_READER_WRITER_LOCKS () {200112;}' unless defined(&_POSIX_READER_WRITER_LOCKS);
    eval 'sub _POSIX_SHELL () {1;}' unless defined(&_POSIX_SHELL);
    eval 'sub _POSIX_TIMEOUTS () {200112;}' unless defined(&_POSIX_TIMEOUTS);
    eval 'sub _POSIX_SPIN_LOCKS () {200112;}' unless defined(&_POSIX_SPIN_LOCKS);
    eval 'sub _POSIX_SPAWN () {200112;}' unless defined(&_POSIX_SPAWN);
    eval 'sub _POSIX_TIMERS () {200112;}' unless defined(&_POSIX_TIMERS);
    eval 'sub _POSIX_BARRIERS () {200112;}' unless defined(&_POSIX_BARRIERS);
    undef(&_POSIX_MESSAGE_PASSING) if defined(&_POSIX_MESSAGE_PASSING);
}
1;
