Closed Bug 1122235 Opened 9 years ago Closed 9 years ago

set HAVE_UINT64_T for cairo compilation to improve codegen

Categories

(Core :: Graphics, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla38

People

(Reporter: froydnj, Assigned: froydnj)

References

Details

Attachments

(1 file)

      No description provided.
We have stdint.h everywhere now, thanks to our new MSVC 2013 support.  Let's
take advantage of it by informing cairo that {u,}int64_t is always available.
Attachment #8549880 - Flags: review?(mshal)
Comment on attachment 8549880 [details] [diff] [review]
set HAVE_UINT64_T for cairo compilation to improve codegen

> for var in ('CAIRO_HAS_PTHREAD', '_GNU_SOURCE'):
>     DEFINES[var] = True
> 
> for var in ('MOZ_TREE_CAIRO', 'MOZ_TREE_PIXMAN'):
>     if CONFIG[var]:
>         DEFINES[var] = True
> 
>+# Normally determined by cairo's configure script.
>+for var in ('HAVE_UINT64_T',):
>+    DEFINES[var] = True
>+

What's the point of the for loop? Seems you could either add this in the 'CAIRO_HAS_PTHREAD' / '_GNU_SOURCE' loop above or just do DEFINES['HAVE_UINT64_T'] = True if you wanted to keep it separate for the comment.
Attachment #8549880 - Flags: review?(mshal) → review+
https://hg.mozilla.org/mozilla-central/rev/c6ece3462afd
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: