summaryrefslogtreecommitdiffstats
path: root/gfx/cairo/win32-inline-cpp-keyword.patch
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2019-11-08 10:54:27 +0100
committerGitHub <noreply@github.com>2019-11-08 10:54:27 +0100
commit0f3635dc8fac240b5e6d2a74d8894d83176bc357 (patch)
tree91f42e5b7b611e259ae8fb63f84e201032e56382 /gfx/cairo/win32-inline-cpp-keyword.patch
parent8bb208397d2574ffcad436d23d3e8b87b3413141 (diff)
parent5f80c286cf845cbc1dde8b7d6ea177ddd4f8f39b (diff)
downloadUXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar
UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar.gz
UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar.lz
UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.tar.xz
UXP-0f3635dc8fac240b5e6d2a74d8894d83176bc357.zip
Merge pull request #1276 from MoonchildProductions/cairo-work
Update the in-tree cairo code.
Diffstat (limited to 'gfx/cairo/win32-inline-cpp-keyword.patch')
-rw-r--r--gfx/cairo/win32-inline-cpp-keyword.patch24
1 files changed, 0 insertions, 24 deletions
diff --git a/gfx/cairo/win32-inline-cpp-keyword.patch b/gfx/cairo/win32-inline-cpp-keyword.patch
deleted file mode 100644
index 4b6f542d7..000000000
--- a/gfx/cairo/win32-inline-cpp-keyword.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-diff --git a/gfx/cairo/cairo/src/cairo-compiler-private.h b/gfx/cairo/cairo/src/cairo-compiler-private.h
---- a/gfx/cairo/cairo/src/cairo-compiler-private.h
-+++ b/gfx/cairo/cairo/src/cairo-compiler-private.h
-@@ -205,18 +205,20 @@
- #if (defined(__WIN32__) && !defined(__WINE__)) || defined(_MSC_VER)
- #define snprintf _snprintf
- #define popen _popen
- #define pclose _pclose
- #define hypot _hypot
- #endif
-
- #ifdef _MSC_VER
-+#ifndef __cplusplus
- #undef inline
- #define inline __inline
-+#endif
-
- /* there are currently linkage problems that arise when trying to include intrin.h in c++:
- * D:\sdks\v7.0\include\winnt.h(3674) : error C2733: second C linkage of overloaded function '_interlockedbittestandset' not allowed
- * so avoid defining ffs in c++ code for now */
- #ifndef __cplusplus
- /* Add a definition of ffs */
- #include <intrin.h>
- #pragma intrinsic(_BitScanForward)