[hack] Change #elseif to #else in hh_shared.c, make locking actually do something
[hack] Change #elseif to #else in hh_shared.c, make locking actually do something

Summary:I've tested everything and then added "#ifdef _WIN32" guards to "make hh_shared.c compile for flow". Turns out "#elseif" is not a thing and the entire method bodes were preprocessed away.

clowntown

Reviewed By: int3

Differential Revision: D3032301

fb-gh-sync-id: 95373bea7a522f7f69efdc26b885c788fa33c1e7
shipit-source-id: 95373bea7a522f7f69efdc26b885c788fa33c1e7

popham/flow,MichaelDeBoey/flow,popham/flow,nmote/flow,MichaelDeBoey/flow,MichaelDeBoey/flow,ylu1317/flow,gabelevi/flow,nmote/flow,samwgoldman/flow,gabro/flow,jeffmo/flow,gabro/flow,popham/flow,cesarandreu/flow,samwgoldman/flow,gabro/flow,gabro/flow,chenglou/flow,nmote/flow,jeffmo/flow,jamesgpearce/flow,ylu1317/flow,TiddoLangerak/flow,ylu1317/flow,facebook/flow,JonathanUsername/flow,ForbesLindesay/flow,chenglou/flow,samwgoldman/flow,JonathanUsername/flow,facebook/flow,chenglou/flow,jdelStrother/flow,JonathanUsername/flow,claudiopro/flow,AprilArcus/flow,MichaelDeBoey/flow,ylu1317/flow,jdelStrother/flow,samwgoldman/flow,JonathanUsername/flow,jdelStrother/flow,AgentME/flow,mroch/flow,nmote/flow,facebook/flow,ForbesLindesay/flow,gabelevi/flow,JonathanUsername/flow,jamesgpearce/flow,claudiopro/flow,jgrund/flow,gabro/flow,jgrund/flow,fletcherw/flow,jeffmo/flow,jdelStrother/flow,gabelevi/flow,jdelStrother/flow,jdelStrother/flow,AgentME/flow,popham/flow,jamesgpearce/flow,jeffmo/flow,chenglou/flow,chenglou/flow,claudiopro/flow,TiddoLangerak/flow,chenglou/flow,facebook/flow,ForbesLindesay/flow,claudiopro/flow,d14b3l/flow,AgentME/flow,mroch/flow,jeffmo/flow,jgrund/flow,AprilArcus/flow,ForbesLindesay/flow,AprilArcus/flow,facebook/flow,AgentME/flow,fletcherw/flow,ForbesLindesay/flow,jamesgpearce/flow,cesarandreu/flow,nmote/flow,samwgoldman/flow,jgrund/flow,jgrund/flow,mroch/flow,gabelevi/flow,gabelevi/flow,AgentME/flow,gabelevi/flow,fletcherw/flow,d14b3l/flow,mroch/flow,jamesgpearce/flow,TiddoLangerak/flow,fletcherw/flow,jeffmo/flow,ForbesLindesay/flow,MichaelDeBoey/flow,samwgoldman/flow,facebook/flow,gabro/flow,AprilArcus/flow,TiddoLangerak/flow,mroch/flow,fletcherw/flow,ylu1317/flow,AprilArcus/flow,jgrund/flow,d14b3l/flow,popham/flow,cesarandreu/flow,claudiopro/flow,nmote/flow,mroch/flow,cesarandreu/flow,d14b3l/flow,TiddoLangerak/flow,fletcherw/flow,facebook/flow,popham/flow,gabelevi/flow,d14b3l/flow,JonathanUsername/flow,jamesgpearce/flow,nmote/flow,mroch/flow,AprilArcus/flow,popham/flow,jamesgpearce/flow,JonathanUsername/flow,d14b3l/flow,samwgoldman/flow