Diff for /parser3/src/main/pa_os.C between versions 1.11 and 1.14

version 1.11, 2010/11/23 19:32:08 version 1.14, 2013/07/23 21:32:18
Line 1 Line 1
 /** @file  /** @file
         Parser: commonly functions.          Parser: commonly functions.
   
         Copyright(c) 2001-2005 ArtLebedev Group (http://www.artlebedev.com)          Copyright (c) 2001-2012 Art. Lebedev Studio (http://www.artlebedev.com)
         Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)          Author: Alexandr Petrosian <paf@design.ru> (http://paf.design.ru)
 */  */
   
 static const char * const IDENT_COMMON_C="$Date$";   
   
 #include "pa_config_includes.h"  #include "pa_config_includes.h"
 #include "pa_os.h"  #include "pa_os.h"
   
 #       if defined(WIN32)  volatile const char * IDENT_PA_OS_C="$Id$" IDENT_PA_OS_H; 
 #               include <windows.h>  
 #       endif  #ifdef _MSC_VER
   #include <windows.h>
   #endif
   
 #ifdef HAVE_FLOCK  #ifdef HAVE_FLOCK
   
Line 88  int pa_sleep(unsigned long secs, unsigne Line 88  int pa_sleep(unsigned long secs, unsigne
                         usecs = usecs%1000000;                          usecs = usecs%1000000;
         }          }
   
 #ifdef WIN32  #ifdef _MSC_VER
         Sleep(secs * 1000 + usecs / 1000);           Sleep(secs * 1000 + usecs / 1000); 
         return 0;          return 0;
 #else  #else

Removed from v.1.11  
changed lines
  Added in v.1.14


E-mail: