Skip to content
  • Chun-wei Fan's avatar
    build: Improve tests for frexpl() and ldexpl() · a1fbeb3e
    Chun-wei Fan authored
    The test programs for those in the Meson build files will not work for
    Visual Studio prior to 2013 (whereas the rest of the code does).
    Improve the tests for these by:
    
    -Adding a test to see whether we can re-define a prototype for these
     functions, using cc.compiles().  If so, set HAVE_DECL_xxxx to be 0,
     otherwise set HAVE_DECL_xxxx to be 1.
    
    Also, for glib/gnulib/frexpl.c, don't undefine frexpl on Visual Studio,
    otherwise we will not be able to compile/link it on Visual Studio
    compilers.
    a1fbeb3e