Skip to content
Snippets Groups Projects
  • Avi Kivity's avatar
    36dc1d06
    file: don't overide FILE · 36dc1d06
    Avi Kivity authored
    Unlike most glibc data types, FILE is not opaque - it is defined as _IO_FILE
    in libio.h and some glibc inlines actually use it.  So we must use the same
    structure.  Do this by subclassing _IO_FILE.
    
    Unbreaks mode=release build.
    36dc1d06
    History
    file: don't overide FILE
    Avi Kivity authored
    Unlike most glibc data types, FILE is not opaque - it is defined as _IO_FILE
    in libio.h and some glibc inlines actually use it.  So we must use the same
    structure.  Do this by subclassing _IO_FILE.
    
    Unbreaks mode=release build.