From 60a1a0558f64b8cd32a7dc6019612751169ddfce Mon Sep 17 00:00:00 2001 From: Alex Lin Date: Tue, 19 Nov 2019 10:59:28 -0600 Subject: [PATCH] Oops, didn't put the #endif in the right place --- trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp b/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp index 265cafbf..5dbff5d0 100644 --- a/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp +++ b/trick_source/codegen/Interface_Code_Gen/HeaderSearchDirs.cpp @@ -43,13 +43,13 @@ void HeaderSearchDirs::AddCompilerBuiltInSearchDirs () { icg_dir << LIBCLANG_MAJOR << "." << LIBCLANG_MINOR ; #ifdef LIBCLANG_PATCHLEVEL icg_dir << "." << LIBCLANG_PATCHLEVEL ; -#endif #endif icg_dir << "/include" ; char * resolved_path = realpath(icg_dir.str().c_str(), NULL ) ; if ( resolved_path != NULL ) { hso.AddPath(resolved_path , clang::frontend::System, IsFramework, IsSysRootRelative); } +#endif #endif fp = popen("${TRICK_HOME}/bin/trick-gte TRICK_CXX" , "r") ;