pineapple-src/externals/vcpkg/ports/faad2/0001-Fix-non-x86-msvc.patch

14 lines
406 B
Diff
Raw Normal View History

2022-07-23 03:01:36 +02:00
diff --git a/libfaad/common.h b/libfaad/common.h
index 897a0f0..8b78807 100644
--- a/libfaad/common.h
+++ b/libfaad/common.h
@@ -313,7 +313,7 @@ char *strchr(), *strrchr();
}
- #if defined(_WIN32) && !defined(_WIN64) && !defined(__MINGW32__)
+ #if defined(_WIN32) && defined(_M_IX86) && !defined(__MINGW32__)
#ifndef HAVE_LRINTF
#define HAS_LRINTF
static INLINE int lrintf(float f)