Add portability header for libgen.h
authorChristopher Dykes <cdykes@fb.com>
Sat, 2 Apr 2016 01:29:47 +0000 (18:29 -0700)
committerFacebook Github Bot 2 <facebook-github-bot-2-bot@fb.com>
Sat, 2 Apr 2016 01:35:39 +0000 (18:35 -0700)
commit0d1a8a82e04af7a318b8cc0492188118257d7778
tree260affb857f5c6d88142924d67498188a1f74579
parent0b32c9eb2caf5214deb7b68cff6d946adbb6d7c6
Add portability header for libgen.h

Summary: The only thing that matters in it is dirname, and Windows doesn't have it.

Reviewed By: yfeldblum

Differential Revision: D2977655

fb-gh-sync-id: eb5703485089f5c66882fbc9cc142686214c1148
fbshipit-source-id: eb5703485089f5c66882fbc9cc142686214c1148
folly/Makefile.am
folly/portability/Libgen.cpp [new file with mode: 0755]
folly/portability/Libgen.h [new file with mode: 0755]
folly/portability/test/LibgenTest.cpp [new file with mode: 0755]