0
0
mirror of https://github.com/zeromq/libzmq.git synced 2024-12-27 15:41:05 +08:00

Build with MSVC2005 fixed

To use __rdtsc() function MSVC2005 requires including intrin.h

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik 2010-10-26 15:35:56 +02:00
parent e1debf15bb
commit 401986e6bb
2 changed files with 5 additions and 0 deletions

View File

@ -67,6 +67,7 @@ John Apps <john.apps@hp.com>
Markus Fischer <markus.fischer@hpc-solutions.com> Markus Fischer <markus.fischer@hpc-solutions.com>
Matt Muggeridge <Matt.Muggeridge@hp.com> Matt Muggeridge <Matt.Muggeridge@hp.com>
Michael Santy <Michael.Santy@dynetics.com> Michael Santy <Michael.Santy@dynetics.com>
Oleg Sevostyanov <oleg.sev@gmail.com>
Paulo Henrique Silva <ph.silva@gmail.com> Paulo Henrique Silva <ph.silva@gmail.com>
Peter Busser <busserpeter@gmail.com> Peter Busser <busserpeter@gmail.com>
Peter Lemenkov <lemenkov@gmail.com> Peter Lemenkov <lemenkov@gmail.com>

View File

@ -25,6 +25,10 @@
#include <stddef.h> #include <stddef.h>
#if defined _MSC_VER
#include <intrin.h>
#endif
#if !defined ZMQ_HAVE_WINDOWS #if !defined ZMQ_HAVE_WINDOWS
#include <sys/time.h> #include <sys/time.h>
#endif #endif