A NotImplemented_nid_no_patch call inside an #if, #ifdef or #ifndef block opened in the export's own body runs only on some hosts, so the export is partial, not a stub. An export wrapped in a preprocessor block from outside its body keeps its class.