danieleteti / delphimvcframework

DMVCFramework (for short) is a popular and powerful framework for WEB API in Delphi. Supports RESTful and JSON-RPC WEB APIs development.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to compile on MacOS

BssdTS opened this issue · comments

commented

Hi,
there is an issue with some Apache units when tying to compile a MVCFramework project on MacOS.
(Same problem as issue #551, and it does not appear to be a syntax errror this time around)
Changing the following 'define' in dmvcframework.inc fixes the problem:

{$DEFINE SYSTEMJSON}
{$IFNDEF MOBILE}
{$DEFINE WEBAPACHEHTTP}
{$ENDIF}
{$DEFINE USEFIREDAC}

to

{$DEFINE SYSTEMJSON}
{$IFNDEF MOBILE}
{$IFNDEF MACOS}
{$DEFINE WEBAPACHEHTTP}
{$ENDIF}
{$ENDIF}

thanks :)