mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
235ccac7f3
Summary: MSVC is broken as it doesn't understand the various macros used to generate XdrTrait for specific types, and I can't figure out a way to make that work. Even if I provide dummy version of these, the buck build breaks due to glog trying to redefine the ERROR symbol that some Microsoft headers contain. For now, let's just ifdef it out since it's unlikely that we're going to be using NFS on Windows anytime soon. Reviewed By: singhsrb Differential Revision: D26293519 fbshipit-source-id: bbaf325c7d1f1688327708360244797a6d48179e
19 lines
329 B
C++
19 lines
329 B
C++
/*
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
*
|
|
* This software may be used and distributed according to the terms of the
|
|
* GNU General Public License version 2.
|
|
*/
|
|
|
|
#ifndef _WIN32
|
|
|
|
#include "eden/fs/nfs/MountdRpc.h"
|
|
|
|
namespace facebook::eden {
|
|
|
|
EDEN_XDR_SERDE_IMPL(mountres3_ok, fhandle3, auth_flavors);
|
|
|
|
}
|
|
|
|
#endif
|