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