• Davi Arnaut's avatar
    Bug#45288: pb2 returns a lot of compilation warnings · 7406b38e
    Davi Arnaut authored
    Ensure that fdatasync is properly declared as on Mac OS X, the
    function is available but there is no prototype. Also, port a
    fix for a warning from the InnoDB plugin over to the builtin. 
    
    configure.in:
      Check that fdatasync is declared.
    mysys/my_sync.c:
      Use fdatasync only if it is declared.
    storage/innobase/include/ut0dbg.h:
      Port over from the plugin a fix for a warning.
    7406b38e
ut0dbg.h 3.02 KB