added constant SYSFS and define conditional directives

added constant SYSFS and define conditional directives