Compile with HAVE_NETWORKING = 0 directice

I’m trying to compile new retroarch with compiler directive HAVE_NETWORKING = 0 with this option with the older version (1.7.7 and above) all the code regarding the network are not compiled and all works fine. Since version 1.7.8 the conditional compilation doesnt work anymore and compiler trying to compile networking code. Please could someone help me with this issue?