mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Update crow.h
This commit is contained in:
parent
acf686d3dd
commit
070d099a1c
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user