Use enum literal instead of constant

This commit is contained in:
Kai Nacke
2013-11-26 07:56:50 +01:00
parent a81a98cb30
commit 7f017608a8
5 changed files with 5 additions and 5 deletions

View File

@@ -596,7 +596,7 @@ void TypeInfoStructDeclaration::llvmDefine()
StructDeclaration *sd = tc->sym;
// can't emit typeinfo for forward declarations
if (sd->sizeok != 1)
if (sd->sizeok != SIZEOKdone)
{
sd->error("cannot emit TypeInfo for forward declaration");
fatal();