[zeromq-dev] Checking for Win platform?

Lobraco, James M james.m.lobraco at baml.com
Mon Nov 2 20:50:53 CET 2009


Martin,

It is a pretty common standard in visual studio to include "WIN32" as a
preprocessor definition. This could work for your header chagne. 

#ifdef WIN32
typedef void* fd_t
#else
typedef int fd_t
#endif

James M. Lobraco
Vice President 
Front Office Structured Trading 
Bank of America 
312.234.2942




More information about the zeromq-dev mailing list