- Timestamp:
- Apr 8, 2024 6:49:38 PM (10 months ago)
- Location:
- trunk/src/libs/libxml2-2.12.6
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/libs/libxml2-2.12.6/dict.c
r104106 r104237 31 31 #include <libxml/xmlmemory.h> 32 32 #include <libxml/xmlstring.h> 33 34 #ifdef VBOX 35 # include <iprt/rand.h> 36 #endif 33 37 34 38 #ifndef SIZE_MAX … … 901 905 } 902 906 907 #ifndef VBOX 903 908 /* 904 909 * Pseudo-random generator … … 947 952 return(result & 0xFFFFFFFF); 948 953 } 954 #endif 949 955 950 956 unsigned 951 957 xmlRandom(void) { 958 #ifndef VBOX 952 959 #ifdef XML_THREAD_LOCAL 953 960 if (!localRngInitialized) { … … 969 976 return(ret); 970 977 #endif 971 } 972 978 #else 979 return RTRandU32(); 980 #endif 981 } 982 -
trunk/src/libs/libxml2-2.12.6/threads.c
r104106 r104237 586 586 xmlInitMemoryInternal(); /* Should come second */ 587 587 xmlInitGlobalsInternal(); 588 #ifndef VBOX 588 589 xmlInitRandom(); 590 #endif 589 591 xmlInitDictInternal(); 590 592 xmlInitEncodingInternal(); … … 651 653 652 654 xmlCleanupDictInternal(); 655 #ifndef VBOX 653 656 xmlCleanupRandom(); 657 #endif 654 658 xmlCleanupGlobalsInternal(); 655 659 /*
Note:
See TracChangeset
for help on using the changeset viewer.