Skip to content
  • Tobias Stoeckmann's avatar
    hw/xfree86: Support ACPI without APM. · 9890e912
    Tobias Stoeckmann authored and Adam Jackson's avatar Adam Jackson committed
    
    
    On systems with ACPI but disabled APM (e.g. --disable-linux-apm)
    the code does not compile due to preprocessor directives.
    
    If APM is disabled, the final return statement is considered to
    be part of ACPI's last if-statement, leading to a function which
    has no final return statement at all.
    
    I have refactored the code so ACPI and APM are independent of each
    other.
    
    Signed-off-by: default avatarTobias Stoeckmann <tobias@stoeckmann.org>
    9890e912