mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-03-24 22:15:07 +00:00
- Support INTEGRITY OS
This commit is contained in:
parent
d14277d7de
commit
49d75678a5
|
@ -243,6 +243,14 @@ unsigned long get_timer( struct hr_time *val, int reset )
|
||||||
return( delta );
|
return( delta );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if defined(INTEGRITY)
|
||||||
|
void m_sleep( int milliseconds )
|
||||||
|
{
|
||||||
|
usleep( milliseconds * 1000 );
|
||||||
|
}
|
||||||
|
|
||||||
|
#else
|
||||||
|
|
||||||
static void sighandler( int signum )
|
static void sighandler( int signum )
|
||||||
{
|
{
|
||||||
alarmed = 1;
|
alarmed = 1;
|
||||||
|
@ -265,6 +273,7 @@ void m_sleep( int milliseconds )
|
||||||
|
|
||||||
select( 0, NULL, NULL, NULL, &tv );
|
select( 0, NULL, NULL, NULL, &tv );
|
||||||
}
|
}
|
||||||
|
#endif /* INTEGRITY */
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue