mirror of
				https://github.com/zeromq/libzmq.git
				synced 2025-10-28 11:31:56 +01:00 
			
		
		
		
	get to clean compile under vs2012
Added some missing (but existing in branch) files to libzmq11 project needed to compile as static library by VS2012 (at least), and fixed some warnings. One warning remains in raw_decoder.cpp, which I'm leaving for now because I'm not sure how project owners would like to fix it.
This commit is contained in:
		| @@ -200,14 +200,14 @@ int zmq::req_t::xsetsockopt (int option_, const void *optval_, size_t optvallen_ | ||||
|     switch (option_) { | ||||
|         case ZMQ_REQ_REQUEST_IDS: | ||||
|             if (is_int && value >= 0) { | ||||
|                 request_id_frames_enabled = value; | ||||
|                 request_id_frames_enabled = (value != 0); | ||||
|                 return 0; | ||||
|             } | ||||
|             break; | ||||
|  | ||||
|         case ZMQ_REQ_STRICT: | ||||
|             if (is_int && value >= 0) { | ||||
|                 strict = value; | ||||
|                 strict = (value != 0); | ||||
|                 return 0; | ||||
|             } | ||||
|             break; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Evan Burkitt
					Evan Burkitt