Bugzilla Bug 353527: put the call to a conditionally defined function in
authorwtchang%redhat.com
Fri, 22 Sep 2006 00:55:55 +0000
changeset 3696 0ba1f1482ceae296f5c9a06fd9626aed1b9faecd
parent 3695 a62705c8b590c01781a7b0a4fa2cf979068d8fe6
child 3697 cf9582205749157b481093a9c176355729412b83
push idunknown
push userunknown
push dateunknown
bugs353527
Bugzilla Bug 353527: put the call to a conditionally defined function in an ifdef. Contributed by Steve Snyder <swsnyder@insightbb.com>. r=wtc.
pr/src/md/windows/ntio.c
--- a/pr/src/md/windows/ntio.c
+++ b/pr/src/md/windows/ntio.c
@@ -900,17 +900,19 @@ void
     if (GetVersionEx(&OSversion)) {
         _nt_version_gets_lockfile_completion = PR_FALSE;
         if (OSversion.dwMajorVersion >= 4) {
             _nt_version_gets_lockfile_completion = PR_TRUE;
         }
     } else 
         PR_ASSERT(0);
 
+#ifdef _NEED_351_FILE_LOCKING_HACK
     IsFileLocalInit();
+#endif /* _NEED_351_FILE_LOCKING_HACK */
 
     /*
      * UDP support: start up the continuation thread
      */
 
     pt_tq.op_count = 0;
     pt_tq.head = pt_tq.tail = NULL;
     pt_tq.ml = PR_NewLock();