InChI
 
Loading...
Searching...
No Matches
inchi_dll_main.h
Go to the documentation of this file.
1/*
2 * SPDX-License-Identifier: MIT
3 * Copyright (c) 2024 IUPAC and InChI Trust
4 */
5
6
7#ifndef __INCHI_DLL_MAIN_H__
8#define __INCHI_DLL_MAIN_H__
9
10#if _MSC_VER > 1000
11#pragma once
12#endif /* _MSC_VER > 1000 */
13
14#if defined(_WIN32) && defined(_MSC_VER) && defined(_USRDLL)
15
16/*#define WIN32_LEAN_AND_MEAN */ /* Exclude rarely-used stuff from Windows headers */
17#include <windows.h>
18
19#define INCHI_DLLMAIN_TYPE APIENTRY
20
21#else /* not a Win32 DLL under MS VC++ */
22
23#define INCHI_DLLMAIN_TYPE
24
25#endif
26
27
28#endif /* __INCHI_DLL_MAIN_H__ */