summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-27 05:46:13 +0000
committernanbor <nanbor@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-27 05:46:13 +0000
commit532cdad783cffcb0e9d71c769809aa0beeac9466 (patch)
tree9c3b97437bbe790d47c0fbfa68f0f5b455e8e1e7
parent88ad3088a7b8bb47a9ac8b441bd65e7c22545392 (diff)
downloadATCD-532cdad783cffcb0e9d71c769809aa0beeac9466.tar.gz
I accidentally disable the unlinking of temp file on UNIX.
-rw-r--r--TAO/TAO_IDL/driver/drv_preproc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/TAO_IDL/driver/drv_preproc.cpp b/TAO/TAO_IDL/driver/drv_preproc.cpp
index 5eac97cd511..43aafd1c19d 100644
--- a/TAO/TAO_IDL/driver/drv_preproc.cpp
+++ b/TAO/TAO_IDL/driver/drv_preproc.cpp
@@ -378,7 +378,7 @@ DRV_pre_proc(char *myfile)
exit(99);
}
-#if defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)
+#if !defined (ACE_WIN32) || defined (ACE_HAS_WINNT4) && (ACE_HAS_WINNT4 != 0)
if (ACE_OS::unlink(tmp_file) == -1) {
cerr << idl_global->prog_name()
<< GTDEVEL(": Could not remove cpp output file ")