Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Commit 998739c

Browse files
committed
Disabled use of clock_gettime, since using it requires an additional static lib.
1 parent eec7659 commit 998739c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/core/sync/config.d

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ version( Posix )
2424

2525
void mktspec( ref timespec t, long delta = 0 )
2626
{
27-
static if( is( typeof( clock_gettime ) ) )
27+
static if( false && is( typeof( clock_gettime ) ) )
2828
{
2929
clock_gettime( CLOCK_REALTIME, &t );
3030
}

0 commit comments

Comments
 (0)