mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
27375e2118
Include a patch for build it in 10.3, 11 and CURRENT Changes: https://github.com/robertdavidgraham/masscan/releases/tag/1.0.4 PR: 219886 Submitted by: taguchi.ch@gmail.com (maintainer) Approved by: garga (mentor) Differential Revision: https://reviews.freebsd.org/D11260
12 lines
282 B
C
12 lines
282 B
C
--- src/smack1.c.orig 2017-06-06 03:59:39 UTC
|
|
+++ src/smack1.c
|
|
@@ -115,6 +115,8 @@
|
|
#include "pixie-timer.h"
|
|
#if defined(_MSC_VER)
|
|
#include <intrin.h>
|
|
+#elif defined(__llvm__)
|
|
+#include <x86intrin.h>
|
|
#elif defined(__GNUC__)
|
|
static __inline__ unsigned long long __rdtsc(void)
|
|
{
|