aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDmitry Ledentsov <dmlled@yahoo.com>2015-07-26 20:59:44 +0200
committerDmitry Ledentsov <dmlled@yahoo.com>2015-07-26 20:59:44 +0200
commit070d099a1cd99ca864d518c98b4d76fcacfb2c09 (patch)
treef4402830be28b51e3c19444c416f00704e22c2f4 /include
parentacf686d3dd3e7ecde6527432fe3090a94929ed14 (diff)
downloadcrow-070d099a1cd99ca864d518c98b4d76fcacfb2c09.tar.gz
crow-070d099a1cd99ca864d518c98b4d76fcacfb2c09.zip
Update crow.h
Diffstat (limited to 'include')
-rw-r--r--include/crow.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/crow.h b/include/crow.h
index cb9f1b3..3a49e40 100644
--- a/include/crow.h
+++ b/include/crow.h
@@ -16,7 +16,12 @@
#include "http_request.h"
#include "http_server.h"
+
+#ifdef CROW_MSVC_WORKAROUND
+#define CROW_ROUTE(app, url) app.route_dynamic(url)
+#else
#define CROW_ROUTE(app, url) app.route<crow::black_magic::get_parameter_tag(url)>(url)
+#endif
namespace crow
{