mirror of
https://github.com/xomboverlord/ldc.git
synced 2026-01-21 07:13:13 +01:00
Merge the 2.063 frontend.
This commit is contained in:
@@ -19,6 +19,7 @@
|
||||
#include "mtype.h"
|
||||
#include "scope.h"
|
||||
#include "statement.h"
|
||||
#include "target.h"
|
||||
#include "template.h"
|
||||
#include "gen/abi.h"
|
||||
#include "gen/arrays.h"
|
||||
@@ -357,7 +358,7 @@ void Module::genmoduleinfo()
|
||||
// check for patch
|
||||
else
|
||||
{
|
||||
unsigned sizeof_ModuleInfo = 16 * PTRSIZE;
|
||||
unsigned sizeof_ModuleInfo = 16 * Target::ptrsize;
|
||||
if (sizeof_ModuleInfo != moduleinfo->structsize)
|
||||
{
|
||||
error("object.d ModuleInfo class is incorrect");
|
||||
|
||||
Reference in New Issue
Block a user