[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sys/time.h not found error on windows


On Monday 30 June 2014 19:40:04 Andreas Schneider wrote:
> On Thursday 26 June 2014 17:00:26 Joseph Southwell wrote:
> > git master branch src/libcrypto.c has
> > 
> > #include <sys/time.h>
> > 
> > This needs to be changed to
> > 
> > #ifndef WIN32
> > #include <sys/time.h>
> > #endif
> > 
> > In order to compile successfully on windows.
> > I have tested that this compiles on VS 2013 Windows SDK 7.1
> 
> The correct ways would be to check in ConfigureChecks.cmake for sys/time.h
> and time.h
> 
> and then have
> 
> #ifdef HAVE_SYS_TIME_H
> #include <sys/time.h>
> #endif
> #ifdef HAVE_TIME_H
> #include <time.h>
> #endif
> 
> which should be the correct way to do it for all platforms.
> 
> 
> Can you create a patch for that?
> 

Ping! :)

> 
> 	-- andreas

-- 
Andreas Schneider                   GPG-ID: CC014E3D
www.cryptomilk.org                asn@xxxxxxxxxxxxxx


Archive administrator: postmaster@lists.cynapses.org