Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

char101
Copy link
Contributor

@char101 char101 commented Jun 30, 2011

Hi,

So this is my 2nd pull request, the first one is to owclient. Would you like to merge this changes so that it's easier to compile phpredis on windows?

Here's the summary of the changes

  1. moved all variables declaration before expression (in *.c and *.h/macros)
  2. converted long long into long since VS 2008 does not have atoll
  3. added a config.w32

Thanks.

@nicolasff
Copy link
Member

Hi,

Thanks a lot for this, I'll run the unit tests tonight to make sure that all still works and then merge it.
I'll take your comments into account and make sure that I declare everything before any statement in the future.

@char101
Copy link
Contributor Author

char101 commented Jun 30, 2011

Thanks for the quick response.

If you have a windows box to test it, I have just uploaded a compiled binary here (saves the effort of compiling it):

https://github.com/downloads/char101/phpredis/php_redis.dll (php 5.3.6, vs 2008, requires vc++ 2008 runtime, *session support not included, I can recompile it with session if required).

@nicolasff nicolasff merged commit c9a6ce2 into phpredis:master Jun 30, 2011
@nicolasff
Copy link
Member

Merged, thanks!

@char101
Copy link
Contributor Author

char101 commented Jun 30, 2011

Hi,

Thanks a lot Nicolas :D

@abrosimov abrosimov mentioned this pull request Mar 11, 2012
@liupdhc liupdhc mentioned this pull request Apr 12, 2017
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.

2 participants