summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/delqueue.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/delqueue.cc')
-rw-r--r--winsup/cygwin/delqueue.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/delqueue.cc b/winsup/cygwin/delqueue.cc
index 3073d02cb..6e0daf8dc 100644
--- a/winsup/cygwin/delqueue.cc
+++ b/winsup/cygwin/delqueue.cc
@@ -87,7 +87,7 @@ delqueue_list::process_queue ()
int res = GetLastError ();
empty = 0;
if (res == ERROR_SHARING_VIOLATION ||
- (os_being_run != winNT && res == ERROR_ACCESS_DENIED))
+ (!iswinnt && res == ERROR_ACCESS_DENIED))
{
/* File still inuse, that's ok */
syscall_printf ("Still using %s", name[i]);