Mercurial > mplayer.hg
comparison codec-cfg.c @ 17841:73db10d5f2e3
remove mp_msg.c dependency when compiling codec-cfg binary.
Fixes MinGW compilation (caused by missing -liconv), this solution seems best
to me because of e.g. cross-compilation issues just adding -liconv might cause.
author | reimar |
---|---|
date | Sun, 12 Mar 2006 23:06:09 +0000 |
parents | 72f3e5e8d2a1 |
children | 3aff7d2edf43 |
comparison
equal
deleted
inserted
replaced
17840:42843606bc06 | 17841:73db10d5f2e3 |
---|---|
24 #include <assert.h> | 24 #include <assert.h> |
25 #include <string.h> | 25 #include <string.h> |
26 | 26 |
27 #include "config.h" | 27 #include "config.h" |
28 #include "mp_msg.h" | 28 #include "mp_msg.h" |
29 #ifdef CODECS2HTML | |
30 #ifdef __GNUC__ | |
31 #define mp_msg(t, l, m, args...) fprintf(stderr, m, ##args) | |
32 #else | |
33 #define mp_msg(t, l, m, ...) fprintf(stderr, m, __VA_ARGS__) | |
34 #endif | |
35 #endif | |
29 | 36 |
30 #include "help_mp.h" | 37 #include "help_mp.h" |
31 | 38 |
32 // for mmioFOURCC: | 39 // for mmioFOURCC: |
33 #include "libmpdemux/aviheader.h" | 40 #include "libmpdemux/aviheader.h" |