summaryrefslogtreecommitdiff
path: root/TAO
diff options
context:
space:
mode:
Diffstat (limited to 'TAO')
-rw-r--r--TAO/TAO_IDL/driver/drv_init.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/driver/drv_init.cpp b/TAO/TAO_IDL/driver/drv_init.cpp
index f0ad80e2d84..bdf5c664eb2 100644
--- a/TAO/TAO_IDL/driver/drv_init.cpp
+++ b/TAO/TAO_IDL/driver/drv_init.cpp
@@ -103,6 +103,12 @@ DRV_init (void)
#elif defined (ACE_CC_PREPROCESSOR)
idl_global->set_cpp_location (ACE_CC_PREPROCESSOR);
#else
+# if defined (ACE_WIN32)
+ // Without this, if we get here, tao_idl will hang.
+ ACE_ERROR ((LM_ERROR,
+ "No valid path to preprocessor\n"));
+ exit (0);
+# endif /* ACE_WIN32 */
// Just default to cc
idl_global->set_cpp_location ("cc");
#endif /* TAO_IDL_PREPROCESSOR */