ty4tw / MQTT-SN

MQTT-SN Gateway & Client over XBee and UDP
162 stars 65 forks source link

Will this compile on OS X Yosemite? #2

Closed saurabh984 closed 9 years ago

saurabh984 commented 9 years ago

Fails with following error:

src/lib/ProcessFramework.cpp:537:16: error: use of undeclared identifier
      'CLOCK_REALTIME'
        clock_gettime(CLOCK_REALTIME, &ts);
                      ^
src/lib/ProcessFramework.cpp:541:3: error: use of undeclared identifier
      'sem_timedwait'
                sem_timedwait(_psem, &ts);
                ^
src/lib/ProcessFramework.cpp:543:3: error: use of undeclared identifier
      'sem_timedwait'
                sem_timedwait(&_sem, &ts);
saurabh984 commented 9 years ago

POSIX - I have my answer.