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

Side by Side Diff: src/third_party/libdisasm/libdis.h

Issue 1579623004: libdisasm: Remove inclusion of windows.h (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad@master
Patch Set: Created 4 years, 11 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #ifndef LIBDISASM_H 1 #ifndef LIBDISASM_H
2 #define LIBDISASM_H 2 #define LIBDISASM_H
3 3
4 #ifdef WIN32
5 #include <windows.h>
6 #endif
7
8 #include <stdint.h> 4 #include <stdint.h>
9 5
10 /* 'NEW" types 6 /* 'NEW" types
11 * __________________________________________________________________________*/ 7 * __________________________________________________________________________*/
12 #ifndef LIBDISASM_QWORD_H /* do not interfere with qword.h */ 8 #ifndef LIBDISASM_QWORD_H /* do not interfere with qword.h */
13 #define LIBDISASM_QWORD_H 9 #define LIBDISASM_QWORD_H
14 #ifdef _MSC_VER 10 #ifdef _MSC_VER
15 typedef __int64 qword_t; 11 typedef __int64 qword_t;
16 #else 12 #else
17 typedef int64_t qword_t; 13 typedef int64_t qword_t;
(...skipping 809 matching lines...) Expand 10 before | Expand all | Expand 10 after
827 /* return the size in bytes of the intruction pointed to by 'buf'; 823 /* return the size in bytes of the intruction pointed to by 'buf';
828 * this used x86_invariant_disasm since it faster than x86_disasm */ 824 * this used x86_invariant_disasm since it faster than x86_disasm */
829 size_t x86_size_disasm( unsigned char *buf, unsigned int buf_len ); 825 size_t x86_size_disasm( unsigned char *buf, unsigned int buf_len );
830 826
831 #ifdef __cplusplus 827 #ifdef __cplusplus
832 } 828 }
833 #endif 829 #endif
834 830
835 831
836 #endif 832 #endif
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698