diff --git a/src/Generator/Options.cs b/src/Generator/Options.cs index aa09a1ec..21b4b582 100644 --- a/src/Generator/Options.cs +++ b/src/Generator/Options.cs @@ -44,6 +44,11 @@ namespace CppSharp Encoding = Encoding.ASCII; CodeFiles = new List(); + + Is32Bit = true; +#if IS_64_BIT + Is32Bit = false; +#endif } // General options @@ -128,7 +133,7 @@ namespace CppSharp get { return GeneratorKind == GeneratorKind.CLI; } } - public bool Is32Bit { get { return true; } } + public bool Is32Bit { get; set; } public List CodeFiles { get; private set; } public readonly List DependentNameSpaces = new List();