Update crow.h

This commit is contained in:
Dmitry Ledentsov 2015-07-26 20:59:44 +02:00
parent acf686d3dd
commit 070d099a1c

View File

@ -16,7 +16,12 @@
#include "http_request.h" #include "http_request.h"
#include "http_server.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) #define CROW_ROUTE(app, url) app.route<crow::black_magic::get_parameter_tag(url)>(url)
#endif
namespace crow namespace crow
{ {