Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Compile with MSVS 2013 and fix compile error #38

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Compile with MSVS 2013 and fix compile error #38

wants to merge 3 commits into from

Conversation

mike2718
Copy link

@mike2718 mike2718 commented Oct 2, 2014

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

@jech
Copy link
Owner

jech commented Nov 13, 2014

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

@epu
Copy link

epu commented Jun 11, 2015

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants