/* Copyright 1998-2011 Research Foundation State University of New York */ /* This file is part of QuB. */ /* QuB is free software; you can redistribute it and/or modify */ /* it under the terms of the GNU General Public License as published by */ /* the Free Software Foundation, either version 3 of the License, or */ /* (at your option) any later version. */ /* QuB is distributed in the hope that it will be useful, */ /* but WITHOUT ANY WARRANTY; without even the implied warranty of */ /* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the */ /* GNU General Public License for more details. */ /* You should have received a copy of the GNU General Public License, */ /* named LICENSE.txt, in the QuB program directory. If not, see */ /* . */ #ifndef MAXILL_H #define MAXILL_H // // If MAXILL_EXPORTS is defined, the decorator MAXILL_API exports a symbol. // Otherwise, MAXILL_API imports the symbol. // This works across MS Visual Studio and gcc. // /* begin_html Up: Index end_html */ #if defined(_WIN32) #define MAXILL_DLLEXPORT __declspec(dllexport) #define MAXILL_DLLIMPORT __declspec(dllimport) #else #define MAXILL_DLLEXPORT #define MAXILL_DLLIMPORT #define __stdcall #endif #if !defined(MAXILL_EXPORTS) #define MAXILL_API MAXILL_DLLIMPORT #else #define MAXILL_API MAXILL_DLLEXPORT #endif #endif