[vlc-devel] [PATCH] hls: fix inttypes include
Thomas Guillem
thomas at gllm.fr
Fri Jun 12 12:30:12 CEST 2015
On Fri, Jun 12, 2015, at 12:29, Thomas Guillem wrote:
> ---
> modules/demux/hls/HLSManager.cpp | 8 ++++++++
> 1 file changed, 8 insertions(+)
>
> diff --git a/modules/demux/hls/HLSManager.cpp
> b/modules/demux/hls/HLSManager.cpp
> index c5a0863..8ae29b1 100644
> --- a/modules/demux/hls/HLSManager.cpp
> +++ b/modules/demux/hls/HLSManager.cpp
> @@ -18,6 +18,14 @@
> * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
> *****************************************************************************/
>
> +#define __STDC_FORMAT_MACROS 1
> +#define __STDC_CONSTANT_MACROS 1
> +#define __STDC_LIMIT_MACROS 1
> +
> +#ifdef HAVE_CONFIG_H
> +# include "config.h"
> +#endif
> +
> #include "HLSManager.hpp"
> #include "../adaptative/logic/RateBasedAdaptationLogic.h"
> #include "../adaptative/tools/Retrieve.hpp"
> --
> 2.1.4
>
Maybe we should factorize all __STDC_*_MACROS defines in vlc_fixups.h
instead of
having these defines in each cpp file, no ?
More information about the vlc-devel
mailing list