moves sources to vendor directory

This commit is contained in:
ThatBen 2024-05-09 14:49:59 +02:00
parent 3d9a2d982d
commit 7a6341ea18
5 changed files with 38 additions and 3 deletions

2
.gitignore vendored
View File

@ -7,3 +7,5 @@ src/htmldocs/
leveldbtool
*.html
*.css
build

4
.gitmodules vendored
View File

@ -1,3 +1,3 @@
[submodule "sources"]
path = sources
[submodule "src/vendor"]
path = src/vendor
url = https://github.com/google/leveldb

View File

@ -0,0 +1,33 @@
// Copyright 2017 The LevelDB Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file. See the AUTHORS file for names of contributors.
#ifndef STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
#define STORAGE_LEVELDB_PORT_PORT_CONFIG_H_
// Define to 1 if you have a definition for fdatasync() in <unistd.h>.
#if !defined(HAVE_FDATASYNC)
#define HAVE_FDATASYNC 1
#endif // !defined(HAVE_FDATASYNC)
// Define to 1 if you have a definition for F_FULLFSYNC in <fcntl.h>.
#if !defined(HAVE_FULLFSYNC)
#define HAVE_FULLFSYNC 0
#endif // !defined(HAVE_FULLFSYNC)
// Define to 1 if you have a definition for O_CLOEXEC in <fcntl.h>.
#if !defined(HAVE_O_CLOEXEC)
#define HAVE_O_CLOEXEC 1
#endif // !defined(HAVE_O_CLOEXEC)
// Define to 1 if you have Google CRC32C.
#if !defined(HAVE_CRC32C)
#define HAVE_CRC32C 0
#endif // !defined(HAVE_CRC32C)
// Define to 1 if you have Google Snappy.
#if !defined(HAVE_SNAPPY)
#define HAVE_SNAPPY 0
#endif // !defined(HAVE_SNAPPY)
#endif // STORAGE_LEVELDB_PORT_PORT_CONFIG_H_

@ -1 +0,0 @@
Subproject commit 99b3c03b3284f5886f9ef9a4ef703d57373e61be

1
src/vendor Submodule

@ -0,0 +1 @@
Subproject commit 068d5ee1a3ac40dabd00d211d5013af44be55bea