Mercurial > mplayer.hg
annotate mpbswap.h @ 24395:51e96521303b
Proper fix for:
dshow/mediatype.c:52: warning: implicit declaration of function 'printf'
dshow/mediatype.c:52: warning: incompatible implicit declaration of built-in function 'printf'
author | voroshil |
---|---|
date | Mon, 10 Sep 2007 13:50:03 +0000 |
parents | 2606b8c645de |
children | 4129c8cfa742 |
rev | line source |
---|---|
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
1 #ifndef MPBSWAP_H |
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
2 #define MPBSWAP_H |
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
3 |
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
4 #include "libavutil/bswap.h" |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
5 #ifndef HAVE_SWAB |
23638
a81e246e3b38
Make sure we always have a swab() prototype when we use it,
reimar
parents:
21557
diff
changeset
|
6 void swab(const void *from, void *to, ssize_t n); |
23639
2606b8c645de
Hide our swab prototype when the system has swab since at least the
reimar
parents:
23638
diff
changeset
|
7 #endif |
21507
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
8 |
fa99b3d31d13
Hack around libavutil/bswap.h compilation problems due to always_inline undefined.
reimar
parents:
diff
changeset
|
9 #endif /* MPBSWAP_H */ |