diff options
Diffstat (limited to 'TAO/TAO_IDL/driver/drv_preproc.cpp')
-rw-r--r-- | TAO/TAO_IDL/driver/drv_preproc.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp index 297b6225517..bd95dc82e02 100644 --- a/TAO/TAO_IDL/driver/drv_preproc.cpp +++ b/TAO/TAO_IDL/driver/drv_preproc.cpp @@ -1308,6 +1308,8 @@ DRV_pre_proc (const char *myfile) throw FE_Bailout (); } +#if !defined (ACE_WIN32) || defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0) + if (ACE_OS::unlink (t_file) == -1) { ACE_ERROR ((LM_ERROR, @@ -1318,6 +1320,7 @@ DRV_pre_proc (const char *myfile) idl_global->set_err_count (idl_global->err_count () + 1); throw FE_Bailout (); } +#endif /* ACE_HAS_WINNT4 && ACE_HAS_WINNT4 != 0 */ if (idl_global->compile_flags () & IDL_CF_ONLY_PREPROC) { |