diff options
Diffstat (limited to 'data/masscan/include.diff')
-rw-r--r-- | data/masscan/include.diff | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/masscan/include.diff b/data/masscan/include.diff new file mode 100644 index 000000000..b0d22bbe0 --- /dev/null +++ b/data/masscan/include.diff @@ -0,0 +1,16 @@ +diff -ur masscan-1.0.5/src/smack1.c masscan-1.0.5+iPhone/src/smack1.c +--- masscan-1.0.5/src/smack1.c 2018-03-08 11:45:23.000000000 +0000 ++++ masscan-1.0.5+iPhone/src/smack1.c 2019-04-25 17:08:38.314694026 +0000 +@@ -113,11 +113,7 @@ + + #ifndef NOBENCHMARK + #include "pixie-timer.h" +-#if defined(_MSC_VER) +-#include <intrin.h> +-#elif defined(__llvm__) +-#include <x86intrin.h> +-#elif defined(__GNUC__) ++#if 1 + static __inline__ unsigned long long __rdtsc(void) + { + #if defined(i386) || defined(__i386__) |