Follow up 62e6b7335c9bf0b30d5ca392c0c5dedbe2768dc9

Fixed missing #if, special thanks to Haruna

Signed-off-by: shennetsind <ind@henn.et>