[ext] Fixed Windows compatibility (closes #1167)
merged branch tucksaun/fix-win-compatibility (PR #1170)

This PR was merged into the master branch.

Discussion
----------

Fixed PHP extension compilation on Windows (closes #1167)

Commits
-------

7fb10c2 [ext] Fixed Windows compatibility (closes #1167)