Skip to content

Various fixes to allow support for new VS2014 features #869

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 6, 2014

Conversation

dragonmantank
Copy link
Contributor

  • Added some typeof checks to handle JS errors introduced in Windows 10
  • Added VS2014 to the list of compilers
  • Changed to use stdint.h if we are using VS2014 or higher
  • Skip defining timespec if we're using VS2014 or higher
  • Moved u_char typedef out to always be defined regardless of VS version

@auroraeosrose
Copy link
Contributor

can you rebase/do a new commit to see if you can get a cleaner travis run on this?

#define snprintf _snprintf
#endif
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to be not correct, the '>' should be reversed. VS including 2013 has no full support for C99.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Upon further inspection I messed up the check anyway, so this will be fixed with the next push.

 - Added some typeof checks to handle JS errors introduced in VS2014
 - Added VS2014 to the list of compilers
 - Changed to use stdint.h if we are using VS2014 or higher
 - Skip defining timespec if we're using VS2014 or higher
 - Moved u_char typedef out to always be defined regardless of VS version
@php-pulls php-pulls merged commit 6b0eca0 into php:master Nov 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants