1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-30 00:00:16 +01:00
libwebsockets/win32port
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
..
client Added "Release DLL" configuration. 2011-09-26 17:30:34 +01:00
libwebsocketswin32 remove deprecated vcxproj 2013-02-07 20:25:28 +08:00
server Added "Release DLL" configuration. 2011-09-26 17:30:34 +01:00
win32helpers fix win32 gettimeofday for mingw 2013-02-28 09:18:38 +08:00
zlib revert zlib update 1.2.7 2013-01-19 15:11:23 +08:00
win32port.sln Added "Release DLL" configuration. 2011-09-26 17:30:34 +01:00