From 0fe848048bb3c050cd44c11f5658463a0d11ea98 Mon Sep 17 00:00:00 2001
From: Alex Lin <alexander.s.lin@nasa.gov>
Date: Tue, 12 Nov 2019 07:58:17 -0600
Subject: [PATCH] ifdef uses wrong name

---
 trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp b/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp
index bd897024..87661600 100644
--- a/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp
+++ b/trick_source/codegen/Interface_Code_Gen/PrintAttributes.cpp
@@ -274,7 +274,7 @@ void PrintAttributes::createMapFiles() {
     std::string enum_map_function_name ;
 
     if ( sim_services_flag ) {
-#ifdef EXTERNAL_DIR
+#ifdef EXTERNAL_BUILD
         map_dir = output_dir ;
 #else
         map_dir = "trick_source/sim_services/include/io_src" ;