1 /* 2 * International Chemical Identifier (InChI) 3 * Version 1 4 * Software version 1.04 5 * September 9, 2011 6 * 7 * The InChI library and programs are free software developed under the 8 * auspices of the International Union of Pure and Applied Chemistry (IUPAC). 9 * Originally developed at NIST. Modifications and additions by IUPAC 10 * and the InChI Trust. 11 * 12 * IUPAC/InChI-Trust Licence for the International Chemical Identifier (InChI) 13 * Software version 1.0. 14 * Copyright (C) IUPAC and InChI Trust Limited 15 * 16 * This library is free software; you can redistribute it and/or modify it under the 17 * terms of the IUPAC/InChI Trust Licence for the International Chemical Identifier 18 * (InChI) Software version 1.0; either version 1.0 of the License, or 19 * (at your option) any later version. 20 * 21 * This library is distributed in the hope that it will be useful, 22 * but WITHOUT ANY WARRANTY; without even the implied warranty of 23 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 24 * See the IUPAC/InChI Trust Licence for the International Chemical Identifier (InChI) 25 * Software version 1.0 for more details. 26 * 27 * You should have received a copy of the IUPAC/InChI Trust Licence for the 28 * International Chemical Identifier (InChI) Software version 1.0 along with 29 * this library; if not, write to: 30 * 31 * The InChI Trust 32 * c/o FIZ CHEMIE Berlin 33 * Franklinstrasse 11 34 * 10587 Berlin 35 * GERMANY 36 * 37 */ 38 39 #ifndef __INCHI_DLL_MAIN_H__ 40 #define __INCHI_DLL_MAIN_H__ 41 42 #if _MSC_VER > 1000 43 #pragma once 44 #endif /* _MSC_VER > 1000 */ 45 46 #if defined(_WIN32) && defined(_MSC_VER) && defined(_USRDLL) 47 48 /*#define WIN32_LEAN_AND_MEAN */ /* Exclude rarely-used stuff from Windows headers */ 49 #include <windows.h> 50 51 #define INCHI_DLLMAIN_TYPE APIENTRY 52 53 #else /* not a Win32 DLL under MS VC++ */ 54 55 #define INCHI_DLLMAIN_TYPE 56 57 #endif 58 59 60 #endif /* __INCHI_DLL_MAIN_H__ */