Commit 55ea14e9 authored by Martin Karsten's avatar Martin Karsten

- FreeBSD fixes

parent df8c8f8a
...@@ -2,7 +2,7 @@ ifeq ($(CC),clang) ...@@ -2,7 +2,7 @@ ifeq ($(CC),clang)
CXX=clang++ CXX=clang++
endif endif
ifneq ($(CXX),clang++) ifeq ($(shell $(CC) --version|head -1|fgrep -q clang),0)
TLSFLAGS=-fno-extern-tls-init -mtls-dialect=gnu2 TLSFLAGS=-fno-extern-tls-init -mtls-dialect=gnu2
endif endif
......
...@@ -79,8 +79,8 @@ protected: ...@@ -79,8 +79,8 @@ protected:
#else // __linux__ below #else // __linux__ below
uint64_t val = 1; uint64_t val = 1;
val = SYSCALL_EQ(write(waker, &val, sizeof(val)), sizeof(val)); val = SYSCALL_EQ(write(waker, &val, sizeof(val)), sizeof(val));
#endif
DBG::outl(DBG::Level::Polling, "Poller ", FmtHex(this), " woke ", pollFD, " via ", waker); DBG::outl(DBG::Level::Polling, "Poller ", FmtHex(this), " woke ", pollFD, " via ", waker);
#endif
} }
public: public:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment