зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1476485 - Remove pragma pack from nsUnicodeScriptCodes.h. r=jfkthame
MozReview-Commit-ID: LW64U7ccjVa --HG-- extra : rebase_source : 0c95807a0a86be417d331c9f9b0a61ff2b04db23
This commit is contained in:
Родитель
c9e5e7c554
Коммит
158c6391b2
|
@ -345,8 +345,6 @@ __END
|
|||
|
||||
our $totalData = 0;
|
||||
|
||||
print HEADER "#pragma pack(1)\n\n";
|
||||
|
||||
sub sprintCharProps2_short
|
||||
{
|
||||
my $usv = shift;
|
||||
|
@ -364,8 +362,6 @@ struct nsCharProps2 {
|
|||
|;
|
||||
&genTables("CharProp2", $type, "nsCharProps2", 9, 7, \&sprintCharProps2_short, 16, 1, 1);
|
||||
|
||||
print HEADER "#pragma pack()\n\n";
|
||||
|
||||
sub sprintHanVariants
|
||||
{
|
||||
my $baseUsv = shift;
|
||||
|
|
|
@ -47,9 +47,6 @@ for the Unicode Character Database, for Version 11.0.0 of the Unicode Standard.
|
|||
#ifndef NS_UNICODE_SCRIPT_CODES
|
||||
#define NS_UNICODE_SCRIPT_CODES
|
||||
|
||||
#pragma pack(1)
|
||||
|
||||
|
||||
struct nsCharProps2 {
|
||||
// Currently only 4 bits are defined here, so 4 more could be added without
|
||||
// affecting the storage requirements for this struct. Or we could pack two
|
||||
|
@ -58,8 +55,6 @@ struct nsCharProps2 {
|
|||
unsigned char mIdType:2;
|
||||
};
|
||||
|
||||
#pragma pack()
|
||||
|
||||
namespace mozilla {
|
||||
namespace unicode {
|
||||
enum class Script : int16_t {
|
||||
|
|
Загрузка…
Ссылка в новой задаче