mirror of
https://github.com/facebook/sapling.git
synced 2024-10-11 01:07:15 +03:00
ab3a7cb21f
Summary: In preparation for merging fb-mercurial sources to the Eden repository, move everything from the top-level directory into an `eden/scm` subdirectory.
26 lines
620 B
C
26 lines
620 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_MMAN_H
|
|
#define FBHGEXT_CLIB_PORTABILITY_MMAN_H
|
|
|
|
#if defined(_MSC_VER)
|
|
/* A fb-specific define which ensures that we use the static flavor of
|
|
* mman-win32 */
|
|
#define MMAN_LIBRARY
|
|
#ifdef EDEN_WIN
|
|
#include "lib/third-party/mman-win32/mman.h"
|
|
#else
|
|
#include "sys/mman.h"
|
|
#endif
|
|
#else
|
|
#include <sys/mman.h>
|
|
#endif
|
|
|
|
#endif /* FBHGEXT_CLIB_PORTABILITY_MMAN_H */
|