mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-23 04:38:37 -05:00
2b1a57aa0e
to enable compiling MAP65.EXE under Windows, using gcc and g95. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@594 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
29 lines
357 B
Fortran
29 lines
357 B
Fortran
real function sec_midn()
|
|
|
|
real*8 sec8,hrtime
|
|
|
|
#ifdef CVF
|
|
sec_midn=secnds(0.0)
|
|
#else
|
|
sec8=hrtime()
|
|
sec_midn=mod(sec8,86400.d0)
|
|
#endif
|
|
|
|
return
|
|
end function sec_midn
|
|
|
|
subroutine sleep_msec(n)
|
|
|
|
#ifdef CVF
|
|
use dflib
|
|
#endif
|
|
|
|
#ifdef CVF
|
|
call sleepqq(n)
|
|
#else
|
|
call usleep(1000*n)
|
|
#endif
|
|
|
|
return
|
|
end subroutine sleep_msec
|