polipo icon indicating copy to clipboard operation
polipo copied to clipboard

Compile with MSVS 2013 and fix compile error

Open mike2718 opened this issue 10 years ago • 2 comments

I had troble trouble when compiling with MSVS 2013, it says

main.c(103) : error C2065: 'F_OK' : undeclared identifier main.c(110) : error C2065: 'F_OK' : undeclared identifier main.c(112) : error C2065: 'F_OK' : undeclared identifier

So I made patches.

To compile, just do

nmake -f Makefile.msc

mike2718 avatar Oct 02 '14 16:10 mike2718

That's clearly wrong. Please find where F_OK is defined, and include the right file in polipo.h.

jech avatar Nov 13 '14 19:11 jech

The F_OK is manually defined in mingw.h, for example. Maybe it should be moved out and shared between the 2 files that need it?

epu avatar Jun 11 '15 23:06 epu