From 3a91332a70abfc777a352c46727f54426c982371 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Fri, 20 Dec 2013 01:34:09 -0800 Subject: A few more Win32 / VisualStudio fixes. --- src/HttpServer.cc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/HttpServer.cc') 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 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()); } -- cgit v1.2.3