HEaaN
Crypto Lab's great homomorphic encryption library
HEaaNExport.hpp
Go to the documentation of this file.
1 // //
3 // Copyright (C) 2021-2023 Crypto Lab Inc. //
4 // //
5 // - This file is part of HEaaN homomorphic encryption library. //
6 // - HEaaN cannot be copied and/or distributed without the express permission //
7 // of Crypto Lab Inc. //
8 // //
10 
11 #pragma once
12 
13 #ifndef HEAAN_API
14 #ifdef HEaaN_EXPORTS
15 /* We are building this library */
16 #ifdef _WIN32
17 #define HEAAN_API __declspec(dllexport)
18 #else
19 #define HEAAN_API __attribute__((visibility("default")))
20 #endif
21 #else // HEaaN_EXPORTS
22 /* We are using this library */
23 #ifdef _WIN32
24 #define HEAAN_API __declspec(dllimport)
25 #else
26 #define HEAAN_API __attribute__((visibility("default")))
27 #endif
28 #endif // HEaaN_EXPORTS
29 #endif // HEAAN_API