mirror of https://github.com/orefkov/simstr.git
13 lines
375 B
C
13 lines
375 B
C
#pragma once
|
|
|
|
#include <simstr/sstring.h>
|
|
#include <benchmark/benchmark.h>
|
|
|
|
#if defined(_MSC_VER) || (defined(__clang__) && __has_declspec_attribute(dllexport))
|
|
#define BENCH_EXPORT __declspec(dllexport)
|
|
#elif (defined(__GNUC__) || defined(__GNUG__)) && defined(COREAS_EXPORTS)
|
|
#define BENCH_EXPORT __attribute__((visibility("default")))
|
|
#else
|
|
#define BENCH_EXPORT
|
|
#endif
|