LIMA
Libre Multilingual Analyzer — C++ API
Loading...
Searching...
No Matches
CoreXmlReaderClient_export.h
Go to the documentation of this file.
1// Copyright 2012-2021 CEA LIST
2// SPDX-FileCopyrightText: 2022 CEA LIST <gael.de-chalendar@cea.fr>
3//
4// SPDX-License-Identifier: MIT
5
6//************************************************************************
10
11#ifndef COREXMLREADERCLIENT_EXPORT_H
12#define COREXMLREADERCLIENT_EXPORT_H
13
14#ifdef WIN32
15#include <cstdint>
16
17#pragma warning( disable : 4512 )
18
19// Avoids compilation errors redefining struc sockaddr in ws2def.h
20#define _WINSOCKAPI_
21
22#undef min
23#undef max
24typedef __int32 int32_t;
25typedef unsigned __int32 uint32_t;
26typedef __int64 int64_t;
27typedef unsigned __int64 uint64_t;
28
29#ifdef COREXMLREADERCLIENT_EXPORTING
30 #define COREXMLREADERCLIENT_EXPORT __declspec(dllexport)
31#else
32 #define COREXMLREADERCLIENT_EXPORT __declspec(dllimport)
33#endif
34
35
36#else // Not WIN32
37
38#define COREXMLREADERCLIENT_EXPORT
39
40#endif
41
42#endif // COREXMLREADERCLIENT_EXPORT_H