diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-20 01:34:09 -0800 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2013-12-20 01:34:09 -0800 |
commit | 3a91332a70abfc777a352c46727f54426c982371 (patch) | |
tree | e2ea6da7b045af8daf749c957b70bdf721864a1e /src/HttpServer.cc | |
parent | 28e250cda01038c91fb9b69206c6f61f24764469 (diff) |
A few more Win32 / VisualStudio fixes.
Diffstat (limited to 'src/HttpServer.cc')
-rw-r--r-- | src/HttpServer.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/HttpServer.cc b/src/HttpServer.cc index 53e3da0..3abf776 100644 --- a/src/HttpServer.cc +++ b/src/HttpServer.cc @@ -5,6 +5,12 @@ #include "SimpleMustache.h" #include "Main.h" +#ifdef _MSC_VER +// FU, MICROSOFT! +#undef DELETE +#undef ERROR +#endif + class OutputCheck : public Balau::Handle { public: OutputCheck(Balau::IO<Balau::Handle> h) : m_h(h), m_wrote(false) { IAssert(m_h->canWrite(), "We haven't been passed a writable Handle to our HttpWorker... ?"); m_name.set("OutputCheck(%s)", m_h->getName()); } |