gnokii-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

gnokii/include compat.h,1.29,1.30


From: BORBELY Zoltan <address@hidden>
Subject: gnokii/include compat.h,1.29,1.30
Date: Wed, 05 Nov 2003 01:22:54 +0000

Update of /cvsroot/gnokii/gnokii/include
In directory subversions:/tmp/cvs-serv26647/include

Modified Files:
        compat.h 
Log Message:
win32 portability enhancements


Index: compat.h
===================================================================
RCS file: /cvsroot/gnokii/gnokii/include/compat.h,v
retrieving revision 1.29
retrieving revision 1.30
diff -C2 -d -r1.29 -r1.30
*** compat.h    6 May 2003 21:00:02 -0000       1.29
--- compat.h    5 Nov 2003 01:22:52 -0000       1.30
***************
*** 193,197 ****
  #  define strcasecmp stricmp
  #  define strncasecmp strnicmp
! #  ifndef HAVE_UNISTD_H
  #    define sleep(x) Sleep((x) * 1000)
  #    define usleep(x) Sleep(((x) < 1000) ? 1 : ((x) / 1000))
--- 193,197 ----
  #  define strcasecmp stricmp
  #  define strncasecmp strnicmp
! #  if !defined(HAVE_UNISTD_H) || defined(__MINGW32__)
  #    define sleep(x) Sleep((x) * 1000)
  #    define usleep(x) Sleep(((x) < 1000) ? 1 : ((x) / 1000))





reply via email to

[Prev in Thread] Current Thread [Next in Thread]