mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 06:09:14 -05:00
0c56bdf91e
Fixes #24272
17 lines
246 B
C
17 lines
246 B
C
|
|
#pragma once
|
|
|
|
#ifdef _WIN32
|
|
# define EXPORT __declspec(dllexport)
|
|
# define IMPORT __declspec(dllimport)
|
|
#else
|
|
# define EXPORT __attribute__((__visibility__("default")))
|
|
# define IMPORT
|
|
#endif
|
|
|
|
struct result_type
|
|
{
|
|
int input;
|
|
int sum;
|
|
};
|