Remove getpid() which isn't present in WinRT
This commit is contained in:
parent
74f2334c2e
commit
51b78b628b
1 changed files with 1 additions and 1 deletions
|
|
@ -512,7 +512,7 @@ static uint32_t oaes_get_seed()
|
||||||
_test = (char *) calloc( sizeof( char ), timer.millitm );
|
_test = (char *) calloc( sizeof( char ), timer.millitm );
|
||||||
_ret = gmTimer->tm_year + 1900 + gmTimer->tm_mon + 1 + gmTimer->tm_mday +
|
_ret = gmTimer->tm_year + 1900 + gmTimer->tm_mon + 1 + gmTimer->tm_mday +
|
||||||
gmTimer->tm_hour + gmTimer->tm_min + gmTimer->tm_sec + timer.millitm +
|
gmTimer->tm_hour + gmTimer->tm_min + gmTimer->tm_sec + timer.millitm +
|
||||||
(uint32_t) ( _test + timer.millitm ) + _getpid();
|
(uint32_t) ( _test + timer.millitm );
|
||||||
|
|
||||||
if( _test )
|
if( _test )
|
||||||
free( _test );
|
free( _test );
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue