Summary: | [GTK] Fail to build on FreeBSD because locale.h is not included | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Ting-Wei Lan <lantw44> | ||||||
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | commit-queue, keith_miller, mark.lam, msaboff, sbarati | ||||||
Priority: | P2 | ||||||||
Version: | WebKit Local Build | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Attachments: |
|
Description
Ting-Wei Lan
2016-06-07 02:47:20 PDT
Created attachment 280685 [details]
Patch
Comment on attachment 280685 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=280685&action=review > Source/JavaScriptCore/jsc.cpp:114 > +#if PLATFORM(GTK) > +#include <locale.h> > +#endif No reason to put that inside an #if. Should just include this header unconditionally. Comment on attachment 280685 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=280685&action=review >> Source/JavaScriptCore/jsc.cpp:114 >> +#endif > > No reason to put that inside an #if. Should just include this header unconditionally. Sorry, I don’t mean "no reason", but still, lets include it unconditionally. (In reply to comment #3) > >> Source/JavaScriptCore/jsc.cpp:114 > >> +#endif > > > > No reason to put that inside an #if. Should just include this header unconditionally. > > Sorry, I don’t mean "no reason", but still, lets include it unconditionally. OK, I did that because setlocale and LC_ALL are only used by PLATFORM(GTK). Created attachment 280709 [details]
Patch
Comment on attachment 280709 [details] Patch Clearing flags on attachment: 280709 Committed r201755: <http://trac.webkit.org/changeset/201755> All reviewed patches have been landed. Closing bug. |