mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-22 11:57:49 +08:00
13 lines
461 B
Diff
13 lines
461 B
Diff
diff --git a/absl/base/optimization.h b/absl/base/optimization.h
|
|
index db8beaf..aaaffa4 100644
|
|
--- a/absl/base/optimization.h
|
|
+++ b/absl/base/optimization.h
|
|
@@ -46,6 +46,7 @@
|
|
// GCC will not tail call given inline volatile assembly.
|
|
#define ABSL_BLOCK_TAIL_CALL_OPTIMIZATION() __asm__ __volatile__("")
|
|
#elif defined(_MSC_VER)
|
|
+#include <intrin.h>
|
|
// The __nop() intrinsic blocks the optimisation.
|
|
#define ABSL_BLOCK_TAIL_CALL_OPTIMIZATION() __nop()
|
|
#else
|