Browse Source

Fixed build on Linux(Ubuntu).

Contributed by @shahid-pk.

Closes pull request #360.
pull/395/head
triton 12 years ago committed by Joao Matos
parent
commit
1c50cc58d0
  1. 1
      build/Tests.lua
  2. 2
      src/CppParser/AST.cpp

1
build/Tests.lua

@ -49,6 +49,7 @@ function SetupTestGeneratorProject(name) @@ -49,6 +49,7 @@ function SetupTestGeneratorProject(name)
links
{
"System.Core",
"CppSharp.AST",
"CppSharp.Generator",
"CppSharp.Generator.Tests"

2
src/CppParser/AST.cpp

@ -591,7 +591,7 @@ DEF_STRING(TranslationUnit, FileName) @@ -591,7 +591,7 @@ DEF_STRING(TranslationUnit, FileName)
DEF_VECTOR(TranslationUnit, MacroDefinition*, Macros)
NativeLibrary::NativeLibrary()
: ArchType(ArchType::UnknownArch)
: ArchType(AST::ArchType::UnknownArch)
{
}

Loading…
Cancel
Save