mirror of
https://github.com/facebook/sapling.git
synced 2024-10-12 09:48:05 +03:00
171ca13ebe
Summary: This will either include system dirent on POSIX or a vendored dirent from folly on Windows. `/no-check-code` is here because it's everywhere across hg's .c codebase. Differential Revision: D7555759 fbshipit-source-id: dc55926e83e17976930522277ed7fe6ce41f32f7
19 lines
455 B
C
19 lines
455 B
C
// Copyright (c) 2004-present, Facebook, Inc.
|
|
// All Rights Reserved.
|
|
//
|
|
// This software may be used and distributed according to the terms of the
|
|
// GNU General Public License version 2 or any later version.
|
|
|
|
// no-check-code
|
|
|
|
#ifndef FBHGEXT_CLIB_PORTABILITY_DIRENT_H
|
|
#define FBHGEXT_CLIB_PORTABILITY_DIRENT_H
|
|
|
|
#if defined(_MSC_VER)
|
|
#include "folly/portability/Dirent.h"
|
|
#else
|
|
#include <dirent.h>
|
|
#endif
|
|
|
|
#endif /* FBHGEXT_CLIB_PORTABILITY_DIRENT_H */
|