tg123 / websockify-nginx-module

Embed websockify into Nginx (convert any tcp connection into websocket)
MIT License
141 stars 60 forks source link

Support Visual Studio as a compiler platform. #4

Closed jmcintyre closed 10 years ago

jmcintyre commented 10 years ago

Aside from variable definition order changes, the biggest changes to support Visual Studio is that func is supported by Visual Studio so a macro had to be made to allow for FUNCTION in cases where Visual Studio is used (I couldn't find an nginx version). Visual Studio also has issues with the variatic version of ngx_log_debug, so I had to switch them out for the versions that specify parameter count.

This was tested with VS 2010 which is the latest that nginx recommends on their website. Other versions are likely to work as well.

tg123 commented 10 years ago

tested on linux with nginx1.6

tg123 commented 10 years ago

THANKS A LOT