Skip to content

Commit 362b72b

Browse files
Lev ZeninLev Zenin
authored andcommitted
Updated structs
1 parent d30902d commit 362b72b

File tree

3 files changed

+9
-5
lines changed

3 files changed

+9
-5
lines changed

Source/Demos/psvPHP/console/phpcon.dpr

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ begin
5555
php := TpsvPHP.Create(nil);
5656
if ParamCount = 1 then
5757
begin
58-
php.FileName := ParamStr(1);
58+
php.FileName := zend_ustr(ParamStr(1));
5959
write(php.Execute);
6060
end
6161
else

Source/Demos/psvPHP/console/phpcon.dproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<AppType>Console</AppType>
99
<FrameworkType>None</FrameworkType>
1010
<ProjectVersion>18.2</ProjectVersion>
11-
<Platform Condition="'$(Platform)'==''">Win64</Platform>
11+
<Platform Condition="'$(Platform)'==''">Win32</Platform>
1212
</PropertyGroup>
1313
<PropertyGroup Condition="'$(Config)'=='Base' or '$(Base)'!=''">
1414
<Base>true</Base>

Source/ZendTypes.pas

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1233,9 +1233,13 @@ Tzend_module_entry = record
12331233
{$IFDEF PHP5}
12341234
{$IFDEF PHP520}
12351235
globals_size : size_t;
1236+
{$IFDEF PHP540}
1237+
globals_ptr : pointer;
1238+
{$ELSE}
12361239
globals_id_ptr : pointer;
1237-
globals_ctor : pointer;
1238-
globals_dtor : pointer;
1240+
{$ENDIF}
1241+
globals_ctor : procedure (global:pointer);cdecl;
1242+
globals_dtor : procedure (global:pointer);cdecl;
12391243
{$ENDIF}
12401244
{$ENDIF}
12411245

@@ -1250,7 +1254,7 @@ Tzend_module_entry = record
12501254
global_id: integer;
12511255
{$ENDIF}
12521256

1253-
module_started: integer;
1257+
module_started: longint;
12541258
_type: byte;
12551259
handle: pointer;
12561260
module_number: longint;

0 commit comments

Comments
 (0)