Generally the trick would be to include windows.h *after* libuv.h. However from the error message it looks like you might be trying to use libuv on windows phone; I'm not sure anyone has ever tried that.
- Bert On Wed, Sep 21, 2016 at 3:19 PM, Gabriel Kotev <kotev.gabr...@gmail.com> wrote: > Hi, > I have one problem when using libuv in shared project (8.1) in visual > studio. > > I get the following errors : > Error: C1083 Cannot open include file: 'mswsock.h': No such file or > directory > > Error: C2371 'ssize_t' : redefinition; different basic types > ChessMatch.WindowsPhone i > > *both in in uv-win.h* > > I have to mention that when I use libuv in c++ console application > everything works perfectly (without showing any errors). > > Does anyone have some suggestions what could be the problem ? > > Thanks, > Gabriel > > -- > You received this message because you are subscribed to the Google Groups > "libuv" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to libuv+unsubscr...@googlegroups.com. > To post to this group, send email to libuv@googlegroups.com. > Visit this group at https://groups.google.com/group/libuv. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "libuv" group. To unsubscribe from this group and stop receiving emails from it, send an email to libuv+unsubscr...@googlegroups.com. To post to this group, send email to libuv@googlegroups.com. Visit this group at https://groups.google.com/group/libuv. For more options, visit https://groups.google.com/d/optout.