mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-29 20:27:56 +08:00
f33ec92a5b
FAAD2 lists its homepage as https://sourceforge.net/projects/faac/, but it links to https://github.com/knik0/faad2 as the place to send pull requests. This seems good enough for Debian[0] and Arch[1], and the SF hosts only a bit older versions, so I used the GitHub project as well. Note that though the project is named "faad2", the library name is just "faad" The embedded patches were all submitted and already merged upstream. [0] https://packages.debian.org/sid/faad [1] https://www.archlinux.org/packages/extra/x86_64/faad2/
14 lines
406 B
Diff
14 lines
406 B
Diff
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)
|