1 #ifndef _PREFIX_H 2 #define _PREFIX_H 1 3 4 /* 5 * prefix.h 6 * 7 * $Id$ 8 * 9 * adds symbol export directive under windows 10 * does nothing under Linux 11 * 12 * This file is part of ADFLib. 13 * 14 * ADFLib is free software; you can redistribute it and/or modify 15 * it under the terms of the GNU General Public License as published by 16 * the Free Software Foundation; either version 2 of the License, or 17 * (at your option) any later version. 18 * 19 * ADFLib is distributed in the hope that it will be useful, 20 * but WITHOUT ANY WARRANTY; without even the implied warranty of 21 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 * GNU General Public License for more details. 23 * 24 * You should have received a copy of the GNU General Public License 25 * along with Foobar; if not, write to the Free Software 26 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 27 * 28 */ 29 30 #ifdef WIN32DLL 31 #define PREFIX __declspec(dllexport) 32 #else 33 #define PREFIX 34 #endif /* WIN32DLL */ 35 36 #endif /* _PREFIX_H */ 37