summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_macro_pop.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2012-09-11 16:13:11 +0000
committerVincent Torri <vincent.torri@gmail.com>2012-09-11 16:13:11 +0000
commitcd69ef4c8a66e7155967a8b661a014856979cf31 (patch)
tree4a351ae4a4ca91abf29c85254b85ea8da71f74b0 /src/lib/evil/evil_macro_pop.h
parent59a9dfd11860888a35e96dfe51af63cea5cecfe1 (diff)
merge: add evil files
SVN revision: 76464
Diffstat (limited to 'src/lib/evil/evil_macro_pop.h')
-rw-r--r--src/lib/evil/evil_macro_pop.h93
1 files changed, 93 insertions, 0 deletions
diff --git a/src/lib/evil/evil_macro_pop.h b/src/lib/evil/evil_macro_pop.h
new file mode 100644
index 0000000..a82818d
--- /dev/null
+++ b/src/lib/evil/evil_macro_pop.h
@@ -0,0 +1,93 @@
1#ifndef __EVIL_MACRO_POP_H__
2#define __EVIL_MACRO_POP_H__
3
4
5#ifdef EVIL_CDECL_IS_DEFINED
6# undef __cdecl
7# undef EVIL_CDECL_IS_DEFINED
8#endif
9
10#define fprintf _evil_fprintfa
11#define printf _evil_printfa
12#define snprintf _evil_snprintfa
13#define sprintf _evil_sprintfa
14#define vfprintf _evil_vfprintfa
15#define vprintf _evil_vprintfa
16#define vsnprintf _evil_vsnprintfa
17#define vsprintf _evil_vsprintfa
18
19#define fscanf _evil_fscanf
20#define scanf _evil_scanf
21#define sscanf _evil_sscanf
22#define vfscanf _evil_vfscanf
23#define vscanf _evil_vscanf
24#define vsscanf _evil_vsscanf
25
26#define asprintf _evil_asprintf
27#define vasprintf _evil_vasprintf
28
29/* Redefine to GNU specific PRI... and SCN... macros. */
30
31#define PRId64 "lld"
32#define PRIdLEAST64 "lld"
33#define PRIdFAST64 "lld"
34#define PRIdMAX "lld"
35#define PRIi64 "lli"
36#define PRIiLEAST64 "lli"
37#define PRIiFAST64 "lli"
38#define PRIiMAX "lli"
39#define PRIo64 "llo"
40#define PRIoLEAST64 "llo"
41#define PRIoFAST64 "llo"
42#define PRIoMAX "llo"
43#define PRIu64 "llu"
44#define PRIuLEAST64 "llu"
45#define PRIuFAST64 "llu"
46#define PRIuMAX "llu"
47#define PRIx64 "llx"
48#define PRIxLEAST64 "llx"
49#define PRIxFAST64 "llx"
50#define PRIxMAX "llx"
51#define PRIX64 "llX"
52#define PRIXLEAST64 "llX"
53#define PRIXFAST64 "llX"
54#define PRIXMAX "llX"
55
56#define SCNd64 "lld"
57#define SCNdLEAST64 "lld"
58#define SCNdFAST64 "lld"
59#define SCNdMAX "lld"
60#define SCNi64 "lli"
61#define SCNiLEAST64 "lli"
62#define SCNiFAST64 "lli"
63#define SCNiMAX "lli"
64#define SCNo64 "llo"
65#define SCNoLEAST64 "llo"
66#define SCNoFAST64 "llo"
67#define SCNoMAX "llo"
68#define SCNx64 "llx"
69#define SCNxLEAST64 "llx"
70#define SCNxFAST64 "llx"
71#define SCNxMAX "llx"
72#define SCNu64 "llu"
73#define SCNuLEAST64 "llu"
74#define SCNuFAST64 "llu"
75#define SCNuMAX "llu"
76
77#ifdef _WIN64
78#define PRIdPTR "lld"
79#define PRIiPTR "lli"
80#define PRIoPTR "llo"
81#define PRIuPTR "llu"
82#define PRIxPTR "llx"
83#define PRIXPTR "llX"
84
85#define SCNdPTR "lld"
86#define SCNiPTR "lli"
87#define SCNoPTR "llo"
88#define SCNxPTR "llx"
89#define SCNuPTR "llu"
90#endif /* _WIN64 */
91
92
93#endif /* __EVIL_MACRO_POP_H__ */