[vlc-devel] [PATCH 2/4] demux: adaptative: fix compilation by gcc492 on OS/2

Jean-Baptiste Kempf jb at videolan.org
Sun May 17 09:45:26 CEST 2015


You should define this at the CXXFLAGS in configure.

On 17 May, KO Myung-Hun wrote :
> -----
>   CXX      demux/adaptative/libdash_plugin_la-Streams.lo
> demux/adaptative/Streams.cpp: In static member function 'static void adaptative::AbstractStreamOutput::esOutDel(es_out_t*, es_out_id_t*)':
> demux/adaptative/Streams.cpp:420:39: error: 'INT64_MAX' was not declared in this scope
>              me->sendToDecoderUnlocked(INT64_MAX - VLC_TS_0);
>                                        ^
> make.exe[4]: *** [demux/adaptative/libdash_plugin_la-Streams.lo] Error 1
> -----
> ---
>  modules/demux/adaptative/Streams.cpp | 1 +
>  1 file changed, 1 insertion(+)
> 
> diff --git a/modules/demux/adaptative/Streams.cpp b/modules/demux/adaptative/Streams.cpp
> index 633cc3b..b6196e3 100644
> --- a/modules/demux/adaptative/Streams.cpp
> +++ b/modules/demux/adaptative/Streams.cpp
> @@ -18,6 +18,7 @@
>   * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
>   *****************************************************************************/
>  #define __STDC_CONSTANT_MACROS
> +#define __STDC_LIMIT_MACROS
>  #include "Streams.hpp"
>  #include "StreamsType.hpp"
>  #include "http/HTTPConnection.hpp"
> -- 
> 1.9.5
> 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

-- 
With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list