Skip to content
  • Thomas Haller's avatar
    build: disable deprecation checks for internal compilation · 9152dec9
    Thomas Haller authored and Lubomir Rintel's avatar Lubomir Rintel committed
    For internal compilation we want to be able to use deprecated
    API without warnings.
    
    Define the version min/max macros to effectively disable deprecation
    warnings.
    
    However, don't do it via CFLAGS option in the makefiles, instead hack it
    to "nm-default.h". After all, *every* source file that is for internal
    compilation needs to include this header as first.
    9152dec9