summaryrefslogtreecommitdiff
path: root/src/lib/evil/evil_macro_pop.h
diff options
context:
space:
mode:
authorVincent Torri <vincent.torri@gmail.com>2013-10-29 16:15:21 +0100
committerCedric Bail <cedric.bail@samsung.com>2013-10-31 14:33:00 +0900
commit6e043dfb44006b7b48d1f54f907c00417fcf6baf (patch)
treeee2508db2ad0a7ef5eaa26704b1778ceaab389c6 /src/lib/evil/evil_macro_pop.h
parent3038d41ba1070b3b5c4e682429fbfad4ea4fbea9 (diff)
evil: remove libgen and the GNU *printf code (both in mingw-w64).
This should reduce the code size of evil and reduce maintainance as mingw does now take care of it. Signed-off-by: Cedric Bail <cedric.bail@samsung.com>
Diffstat (limited to 'src/lib/evil/evil_macro_pop.h')
-rw-r--r--src/lib/evil/evil_macro_pop.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/lib/evil/evil_macro_pop.h b/src/lib/evil/evil_macro_pop.h
index a82818d..bad78db 100644
--- a/src/lib/evil/evil_macro_pop.h
+++ b/src/lib/evil/evil_macro_pop.h
@@ -1,31 +1,6 @@
1#ifndef __EVIL_MACRO_POP_H__ 1#ifndef __EVIL_MACRO_POP_H__
2#define __EVIL_MACRO_POP_H__ 2#define __EVIL_MACRO_POP_H__
3 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. */ 4/* Redefine to GNU specific PRI... and SCN... macros. */
30 5
31#define PRId64 "lld" 6#define PRId64 "lld"