diff options
author | Moonchild <moonchild@palemoon.org> | 2020-05-14 18:34:06 +0000 |
---|---|---|
committer | Moonchild <moonchild@palemoon.org> | 2020-05-20 13:55:01 +0000 |
commit | 35c731cf0837333e633c0a3b29f27bfc11b6743e (patch) | |
tree | 3a727bd3504c6b3a6c42b806eea22287608feeee /gfx/2d | |
parent | b1851a4ad037f193a01f8700d52269e093eed35f (diff) | |
download | UXP-35c731cf0837333e633c0a3b29f27bfc11b6743e.tar UXP-35c731cf0837333e633c0a3b29f27bfc11b6743e.tar.gz UXP-35c731cf0837333e633c0a3b29f27bfc11b6743e.tar.lz UXP-35c731cf0837333e633c0a3b29f27bfc11b6743e.tar.xz UXP-35c731cf0837333e633c0a3b29f27bfc11b6743e.zip |
Issue # 80 - Fix up gfx/2d/DataSurfaceHelpers
De-unified build requires <string.h> instead of <cstring> to
prevent stdlib confusion.
Diffstat (limited to 'gfx/2d')
-rw-r--r-- | gfx/2d/DataSurfaceHelpers.cpp | 2 | ||||
-rw-r--r-- | gfx/2d/moz.build | 8 |
2 files changed, 3 insertions, 7 deletions
diff --git a/gfx/2d/DataSurfaceHelpers.cpp b/gfx/2d/DataSurfaceHelpers.cpp index 87ef00fcd..99dfe063a 100644 --- a/gfx/2d/DataSurfaceHelpers.cpp +++ b/gfx/2d/DataSurfaceHelpers.cpp @@ -3,7 +3,7 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -#include <cstring> +#include <string.h> #include "2D.h" #include "DataSurfaceHelpers.h" diff --git a/gfx/2d/moz.build b/gfx/2d/moz.build index c862f413f..33b49038f 100644 --- a/gfx/2d/moz.build +++ b/gfx/2d/moz.build @@ -141,15 +141,11 @@ elif CONFIG['CPU_ARCH'].startswith('mips'): 'convolverLS3.cpp', ] -# Won't build non-unified with a build error in iosfwd `strlen` (??) -UNIFIED_SOURCES += [ - 'DataSourceSurface.cpp', - 'DataSurfaceHelpers.cpp', -] - SOURCES += [ 'BezierUtils.cpp', 'Blur.cpp', + 'DataSourceSurface.cpp', + 'DataSurfaceHelpers.cpp', 'DrawEventRecorder.cpp', 'DrawingJob.cpp', 'DrawTarget.cpp', |