Closed
Bug 1122235
Opened 11 years ago
Closed 11 years ago
set HAVE_UINT64_T for cairo compilation to improve codegen
Categories
(Core :: Graphics, defect)
Core
Graphics
Tracking
()
RESOLVED
FIXED
mozilla38
People
(Reporter: froydnj, Assigned: froydnj)
References
Details
Attachments
(1 file)
1.15 KB,
patch
|
mshal
:
review+
|
Details | Diff | Splinter Review |
No description provided.
![]() |
Assignee | |
Comment 1•11 years ago
|
||
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 2•11 years ago
|
||
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+
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla38
You need to log in
before you can comment on or make changes to this bug.
Description
•