Remove IncludeVersions.h, which is no longer needed for cmake-only builds

This commit is contained in:
A.J. Beamon 2020-05-20 13:23:02 -07:00
parent 523ddf8fd4
commit b589c3c940
10 changed files with 9 additions and 37 deletions

View File

@ -63,7 +63,7 @@ using std::endl;
#endif
#endif
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#include "flow/SimpleOpt.h"
#include "flow/actorcompiler.h" // This must be the last #include.

View File

@ -49,7 +49,7 @@
#include "fdbcli/linenoise/linenoise.h"
#endif
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#include "flow/actorcompiler.h" // This must be the last #include.

View File

@ -1,28 +0,0 @@
/*
* IncludeVersions.h
*
* This source file is part of the FoundationDB open source project
*
* Copyright 2013-2020 Apple Inc. and the FoundationDB project authors
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// This is a simple header to isolate the stupidity that results out of two
// build systems and versions.h include directives
#if defined(CMAKE_BUILD)
# include "fdbclient/versions.h"
#elif !defined(WIN32)
# include "versions.h"
#endif

View File

@ -49,7 +49,7 @@
#include "flow/TLSConfig.actor.h"
#include "flow/UnitTest.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#ifdef WIN32
#define WIN32_LEAN_AND_MEAN

View File

@ -21,7 +21,7 @@
#include "fdbclient/ThreadSafeTransaction.h"
#include "fdbclient/ReadYourWrites.h"
#include "fdbclient/DatabaseContext.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
// Users of ThreadSafeTransaction might share Reference<ThreadSafe...> between different threads as long as they don't call addRef (e.g. C API follows this).
// Therefore, it is unsafe to call (explicitly or implicitly) this->addRef in any of these functions.

View File

@ -77,7 +77,7 @@
#include "flow/SimpleOpt.h"
#include "SimpleIni.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#ifdef __linux__
typedef fd_set* fdb_fd_set;

View File

@ -7,7 +7,7 @@
#include "fdbserver/FDBExecHelper.actor.h"
#include "flow/Trace.h"
#include "flow/flow.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#include "fdbserver/Knobs.h"
#include "flow/actorcompiler.h" // This must be the last #include.

View File

@ -31,7 +31,7 @@
#include "fdbclient/ManagementAPI.actor.h"
#include "fdbclient/NativeAPI.actor.h"
#include "fdbclient/BackupAgent.actor.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#include "flow/actorcompiler.h" // This must be the last #include.
#undef max

View File

@ -54,7 +54,7 @@
#include "fdbrpc/AsyncFileCached.actor.h"
#include "fdbserver/CoroFlow.h"
#include "flow/TLSConfig.actor.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
#include "fdbmonitor/SimpleIni.h"

View File

@ -30,7 +30,7 @@
#include "..\flow\SimpleOpt.h"
#include "..\fdbmonitor\SimpleIni.h"
#include "fdbclient/IncludeVersions.h"
#include "fdbclient/versions.h"
// For PathFileExists
#include "Shlwapi.h"