mirror of
https://github.com/ldc-developers/ldc.git
synced 2025-05-06 19:06:02 +03:00
Forgot D2 versioning on typeinfo change.
This commit is contained in:
parent
582deb9827
commit
32f99e7091
1 changed files with 4 additions and 0 deletions
|
@ -230,7 +230,11 @@ int Type::builtinTypeInfo()
|
||||||
|
|
||||||
int TypeBasic::builtinTypeInfo()
|
int TypeBasic::builtinTypeInfo()
|
||||||
{
|
{
|
||||||
|
#if DMDV2
|
||||||
return !mod;
|
return !mod;
|
||||||
|
#else
|
||||||
|
return 1;
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
int TypeDArray::builtinTypeInfo()
|
int TypeDArray::builtinTypeInfo()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue