1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/win32port/win32helpers
Arokux B e5ae9a95fb fix win32 gettimeofday for mingw
here are the problems that I found while compiling libwebsockets with
CMake using as a generator MinGW Makefiles.

1. In http://git.warmcat.com/cgi-bin/cgit/libwebsockets/plain/win32port/win32helpers/gettimeofday.c

Remove spaces around time.h, otherwise it looks for " time.h " and
fails with "No such file ..."

I also needed to comment out

struct timezone
{
  int  tz_minuteswest; /* minutes W of Greenwich */
  int  tz_dsttime;     /* type of dst correction */
};

It is already declared in mingw's time.h

Signed-off-by: Arokux B <arokux@gmail.com>
2013-02-28 09:18:38 +08:00
..
sys introduce win32 build capability 2011-03-02 22:03:47 +00:00
getopt.c update win32 support for zlib 2011-03-10 18:19:10 +00:00
getopt.h update win32 support for zlib 2011-03-10 18:19:10 +00:00
getopt_long.c update win32 support for zlib 2011-03-10 18:19:10 +00:00
gettimeofday.c fix win32 gettimeofday for mingw 2013-02-28 09:18:38 +08:00
gettimeofday.h mingw gettimeofday avoid missing include 2012-04-12 13:31:12 +08:00
netdb.h introduce win32 build capability 2011-03-02 22:03:47 +00:00
strings.h introduce win32 build capability 2011-03-02 22:03:47 +00:00
unistd.h introduce win32 build capability 2011-03-02 22:03:47 +00:00
websock-w32.c mingw add win32helper to lib and fix extpoll 2012-04-12 13:32:19 +08:00
websock-w32.h Fix running test programs from within visual studio. 2013-02-22 09:28:17 +08:00