mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 09:25:49 +00:00
Remove getpid() which isn't present in WinRT
This commit is contained in:
parent
74f2334c2e
commit
51b78b628b
@ -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…
x
Reference in New Issue
Block a user