Options.cpp contains a macro that prevents libzmq from building in Visual Studio

Description

Hello ZMQ Team,
I may be setting up the libzmq project incorrectly, but I've run into the issue below when trying to compile libzmq for the first time.

Options.cpp contains the lines:

#ifndef ZMQ_HAVE_WINDOWS
#include <sys/stat.h>
#endif

This will prevent libzmq from compiling. The fix is to simply remove the #ifndef and #endif.

Thank you.
Aaron

Environment

Windows 7. Visual Studio 2010.

Activity

Show:

Details

Assignee

Reporter

Components

Affects versions

Priority

Created July 17, 2012 at 9:20 PM
Updated July 17, 2012 at 9:21 PM