nss: update to 3.44.1, with vc2013 fix and gyp fix

This commit is contained in:
Roy Tam 2019-06-24 21:44:17 +08:00
commit d4b834111b
553 changed files with 1515569 additions and 1130 deletions

View file

@ -18397,8 +18397,15 @@ static int sqlite3MemInit(void *NotUsed){
malloc_zone_t* newzone = malloc_create_zone(4096, 0);
malloc_set_zone_name(newzone, "Sqlite_Heap");
do{
#ifdef DARWIN // On iOS gyp build fails because of -Werror.
#pragma clang diagnostic push
#pragma clang diagnostic warning "-Wdeprecated-declarations"
#endif
success = OSAtomicCompareAndSwapPtrBarrier(NULL, newzone,
(void * volatile *)&_sqliteZone_);
#ifdef DARWIN
#pragma clang diagnostic pop
#endif
}while(!_sqliteZone_);
if( !success ){
/* somebody registered a zone first */
@ -26957,7 +26964,14 @@ SQLITE_PRIVATE const char *sqlite3OpcodeName(int i){
&& (!defined(TARGET_IPHONE_SIMULATOR) || (TARGET_IPHONE_SIMULATOR==0))
# define HAVE_GETHOSTUUID 1
# else
# ifdef DARWIN // On iOS gyp build fails because of -Werror.
# pragma clang diagnostic push
# pragma clang diagnostic warning "-W#warnings"
# endif
# warning "gethostuuid() is disabled."
# ifdef DARWIN
# pragma clang diagnostic pop
# endif
# endif
#endif