curl-library
Re: Build errors on Windows
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Wed, 5 Nov 2014 13:06:26 +0100 (CET)
Date: Wed, 5 Nov 2014 13:06:26 +0100 (CET)
On Wed, 5 Nov 2014, Jan Ehrhardt wrote:
> I am getting build errors on Windows for Curl 7.39
>
> nmake /f makefile.vc mode=static VC=VC9 MACHINE=x86
> WITH_DEVEL=../../win32build.vc9 WITH_SSH2=dll
> ..\lib\ssh.c(808) : error C2065: 'R_OK' : undeclared identifier
Ah, that's the same one Gisle pointed out that I forgot about:
https://github.com/bagder/curl/commit/fa7d04fed4d4578fe29bdff0b5465f6e4a7da81a#commitcomment-8158548
Surely that define is present in some windows header file we should better
include rather than to define it ourselves?
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2014-11-05