• Martin Storsjö's avatar
    configure: Check if C++ headers define locale_t · 797efbd4
    Martin Storsjö authored
    In environments that lack a full locale.h implementation, the C++
    headers might implement some fallbacks with the same name
    (on windows, libcxx does this).
    
    In these cases, don't provide the normal fallbacks from vlc_fixups.h
    when compiling in C++ mode, but include the C++ <locale> header instead.
    
    If <locale> provides locale_t, include the header and define
    HAVE_NEWLOCALE (which skips the vlc_fixups.h version of locale_t),
    but keep the vlc_fixups.h fallback for uselocale. (One could
    also add another configure test for whether <locale> provides
    the uselocale function.)
    
    (libcxx doesn't provide any fallback for the uselocale function
    since it isn't easily implemented with the msvcrt _locale_t objects.
    The libcxx fallback locale_t objects are applied via the setlocale
    function, and passed to functions that take a _locale_t parameter.)
    797efbd4
Name
Last commit
Last update
..
vlc Loading commit data...
.gitignore Loading commit data...
vlc_access.h Loading commit data...
vlc_actions.h Loading commit data...
vlc_addons.h Loading commit data...
vlc_aout.h Loading commit data...
vlc_aout_volume.h Loading commit data...
vlc_arrays.h Loading commit data...
vlc_atomic.h Loading commit data...
vlc_avcodec.h Loading commit data...
vlc_bits.h Loading commit data...
vlc_block.h Loading commit data...
vlc_block_helper.h Loading commit data...
vlc_boxes.h Loading commit data...
vlc_charset.h Loading commit data...
vlc_codec.h Loading commit data...
vlc_codecs.h Loading commit data...
vlc_common.h Loading commit data...
vlc_config.h Loading commit data...
vlc_config_cat.h Loading commit data...
vlc_configuration.h Loading commit data...
vlc_cpu.h Loading commit data...
vlc_demux.h Loading commit data...
vlc_dialog.h Loading commit data...
vlc_epg.h Loading commit data...
vlc_es.h Loading commit data...
vlc_es_out.h Loading commit data...
vlc_events.h Loading commit data...
vlc_extensions.h Loading commit data...
vlc_filter.h Loading commit data...
vlc_fingerprinter.h Loading commit data...
vlc_fixups.h Loading commit data...
vlc_fourcc.h Loading commit data...
vlc_fs.h Loading commit data...
vlc_gcrypt.h Loading commit data...
vlc_http.h Loading commit data...
vlc_httpd.h Loading commit data...
vlc_image.h Loading commit data...
vlc_inhibit.h Loading commit data...
vlc_input.h Loading commit data...
vlc_input_item.h Loading commit data...
vlc_interface.h Loading commit data...
vlc_interrupt.h Loading commit data...
vlc_intf_strings.h Loading commit data...
vlc_iso_lang.h Loading commit data...
vlc_keystore.h Loading commit data...
vlc_md5.h Loading commit data...
vlc_media_library.h Loading commit data...
vlc_memstream.h Loading commit data...
vlc_messages.h Loading commit data...
vlc_meta.h Loading commit data...
vlc_meta_fetcher.h Loading commit data...
vlc_mime.h Loading commit data...
vlc_modules.h Loading commit data...
vlc_mouse.h Loading commit data...
vlc_mtime.h Loading commit data...
vlc_network.h Loading commit data...
vlc_objects.h Loading commit data...
vlc_opengl.h Loading commit data...
vlc_pgpkey.h Loading commit data...
vlc_picture.h Loading commit data...
vlc_picture_fifo.h Loading commit data...
vlc_picture_pool.h Loading commit data...
vlc_playlist.h Loading commit data...
vlc_plugin.h Loading commit data...
vlc_probe.h Loading commit data...
vlc_rand.h Loading commit data...
vlc_renderer_discovery.h Loading commit data...
vlc_services_discovery.h Loading commit data...
vlc_sout.h Loading commit data...
vlc_spu.h Loading commit data...
vlc_stream.h Loading commit data...
vlc_stream_extractor.h Loading commit data...
vlc_strings.h Loading commit data...
vlc_subpicture.h Loading commit data...
vlc_text_style.h Loading commit data...
vlc_threads.h Loading commit data...
vlc_timestamp_helper.h Loading commit data...
vlc_tls.h Loading commit data...
vlc_update.h Loading commit data...
vlc_url.h Loading commit data...
vlc_variables.h Loading commit data...
vlc_video_splitter.h Loading commit data...
vlc_viewpoint.h Loading commit data...
vlc_vlm.h Loading commit data...
vlc_vod.h Loading commit data...
vlc_vout.h Loading commit data...
vlc_vout_display.h Loading commit data...
vlc_vout_osd.h Loading commit data...
vlc_vout_window.h Loading commit data...
vlc_vout_wrapper.h Loading commit data...
vlc_xlib.h Loading commit data...
vlc_xml.h Loading commit data...