You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I develop a server compiled in Windows, and the develop a windows, android and macos client... the error raises in the macos client... I can try to compile a sample if compiles on macOs
Looks like there is an associated bug preventing MacOS compilation
function TWebContext.GetHostingFrameworkType: TMVCHostingFrameworkType;
begin
{$IFDEF WEBAPACHEHTTP}
if FRequest.ClassType = TApacheRequest then
begin
Exit(hftApache);
end
else
begin
{$IFNDEF LINUX}
if FRequest.ClassType = TISAPIRequest then
begin
Exit(hftISAPI);
end
else
{$ENDIF}
{$ENDIF}
begin
Exit(hftIndy);
end;
// add this condition compilation directive
{$IFDEF WEBAPACHEHTTP}
end;
{$ENDIF}
end;
You get the error "unit Web.ApacheHTTP not found"
Changed on dmvcframework.inc
From:
{$IFNDEF MOBILE}
{$DEFINE WEBAPACHEHTTP}
{$ENDIF}
To:
{$IFNDEF MOBILE}
{$IFNDEF MACOS}
{$DEFINE WEBAPACHEHTTP}
{$ENDIF}
{$ENDIF}
and then, it works
The text was updated successfully, but these errors were encountered: