Skip to content
  • KO Myung-Hun's avatar
    logger: fix compilation on OS/2 · 5253cf28
    KO Myung-Hun authored and Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf committed
    
    
    -----
      CC       logger/console.lo
    logger/console.c: In function 'Open':
    logger/console.c:115:5: error: implicit declaration of function 'isatty' [-Werror=implicit-function-declaration]
         if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
         ^
    logger/console.c:115:16: error: 'STDERR_FILENO' undeclared (first use in this function)
         if (isatty(STDERR_FILENO) && var_InheritBool(obj, "color"))
                    ^
    logger/console.c:115:16: note: each undeclared identifier is reported only once for each function it appears in
    cc1.exe: some warnings being treated as errors
    -----
    
    Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
    5253cf28