mirror of
https://github.com/quizhizhe/LiteLoaderBDS-1.16.40.git
synced 2025-06-06 12:03:39 +00:00
34 lines
1.1 KiB
C
34 lines
1.1 KiB
C
// Copyright (c) 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_INCLUDE_EXPORT_H_
|
|
#define STORAGE_LEVELDB_INCLUDE_EXPORT_H_
|
|
|
|
#if !defined(LEVELDB_EXPORT)
|
|
|
|
# if defined(LEVELDB_SHARED_LIBRARY)
|
|
# if defined(_WIN32)
|
|
|
|
# if defined(LEVELDB_COMPILE_LIBRARY)
|
|
# define LEVELDB_EXPORT __declspec(dllexport)
|
|
# else
|
|
# define LEVELDB_EXPORT __declspec(dllimport)
|
|
# endif // defined(LEVELDB_COMPILE_LIBRARY)
|
|
|
|
# else // defined(_WIN32)
|
|
# if defined(LEVELDB_COMPILE_LIBRARY)
|
|
# define LEVELDB_EXPORT __attribute__((visibility("default")))
|
|
# else
|
|
# define LEVELDB_EXPORT
|
|
# endif
|
|
# endif // defined(_WIN32)
|
|
|
|
# else // defined(LEVELDB_SHARED_LIBRARY)
|
|
# define LEVELDB_EXPORT
|
|
# endif
|
|
|
|
#endif // !defined(LEVELDB_EXPORT)
|
|
|
|
#endif // STORAGE_LEVELDB_INCLUDE_EXPORT_H_
|