Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(183)

Side by Side Diff: third_party/libxml/README.chromium

Issue 1836853002: Avoid illegal definition of snprintf in VS 2015 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2661
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/libxml/win32/config.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 Name: libxml 1 Name: libxml
2 URL: http://xmlsoft.org 2 URL: http://xmlsoft.org
3 Version: 2.9.3 3 Version: 2.9.3
4 License: MIT 4 License: MIT
5 License File: src/Copyright 5 License File: src/Copyright
6 Security Critical: yes 6 Security Critical: yes
7 7
8 Description: 8 Description:
9 9
10 libxml2 from libxml.org. 10 libxml2 from libxml.org.
(...skipping 18 matching lines...) Expand all
29 Patch config.h to not define HAVE_RAND_R since we use this file on Android 29 Patch config.h to not define HAVE_RAND_R since we use this file on Android
30 and it does not have it. 30 and it does not have it.
31 31
32 On a Mac, do the same in the mac/ subdir for config.h and 32 On a Mac, do the same in the mac/ subdir for config.h and
33 include/libxml/xmlversion.h and copy those to the Linux box in mac/ 33 include/libxml/xmlversion.h and copy those to the Linux box in mac/
34 34
35 On a Windows box: 35 On a Windows box:
36 cd libxml2-2.9.2\win32 36 cd libxml2-2.9.2\win32
37 cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no 37 cscript //E:jscript configure.js compiler=msvc iconv=no icu=yes ftp=no http=no
38 Then copy VC10/config.h and include/libxml/xmlversion.h to win32/ on Linux. 38 Then copy VC10/config.h and include/libxml/xmlversion.h to win32/ on Linux.
39 Patch win32/config.h to wrap the #define snprintf with:
40 #if _MSC_VER < 1900
41 #endif
39 42
40 Remove: 43 Remove:
41 src/doc/ 44 src/doc/
42 src/example/ 45 src/example/
43 src/macos/libxml2.mcp.xml.sit.hqx 46 src/macos/libxml2.mcp.xml.sit.hqx
44 src/os400/ 47 src/os400/
45 src/python/ 48 src/python/
46 src/result/ 49 src/result/
47 src/test/ 50 src/test/
48 src/vms/ 51 src/vms/
49 src/win32/wince 52 src/win32/wince
50 src/VxWorks/ 53 src/VxWorks/
51 54
52 Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc. 55 Update BUILD.gn and libxml.gyp as necessary to add/remove files, etc.
OLDNEW
« no previous file with comments | « no previous file | third_party/libxml/win32/config.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698