celtool/celtoolextern.h
00001 /* 00002 Copyright (C) 2004 by Jorrit Tyberghein 00003 Written by John Harger <jharger AT users.sourceforge.net> 00004 00005 This library is free software; you can redistribute it and/or 00006 modify it under the terms of the GNU Library General Public 00007 License as published by the Free Software Foundation; either 00008 version 2 of the License, or (at your option) any later version. 00009 00010 This library is distributed in the hope that it will be useful, 00011 but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 00013 Library General Public License for more details. 00014 00015 You should have received a copy of the GNU Library General Public 00016 License along with this library; if not, write to the Free 00017 Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00018 */ 00019 00020 #ifndef __CELTOOL_CELTOOLEXTERN_H__ 00021 #define __CELTOOL_CELTOOLEXTERN_H__ 00022 00023 #include "cssysdef.h" 00024 #include "celplatform.h" 00025 00026 #if defined(CS_PLATFORM_WIN32) 00027 #if defined(CEL_BUILD_SHARED_LIBS) 00028 #define CEL_EXPORT_SYM CS_EXPORT_SYM_DLL 00029 #define CEL_IMPORT_SYM CS_IMPORT_SYM_DLL 00030 #else 00031 #define CEL_EXPORT_SYM 00032 #define CEL_IMPORT_SYM 00033 #endif // CEL_BUILD_SHARED_LIBS 00034 #else 00035 #if defined(CEL_BUILD_SHARED_LIBS) 00036 #define CEL_EXPORT_SYM CS_VISIBILITY_DEFAULT 00037 #else 00038 #define CEL_EXPORT_SYM 00039 #endif 00040 #define CEL_IMPORT_SYM 00041 #endif 00042 00043 #ifdef CEL_CELTOOL_LIB 00044 #define CEL_CELTOOL_EXPORT CEL_EXPORT_SYM 00045 #else 00046 #define CEL_CELTOOL_EXPORT CEL_IMPORT_SYM 00047 #endif 00048 00049 #endif // __CELTOOL_CELTOOLEXTERN_H__
Generated for CEL: Crystal Entity Layer 2.1 by doxygen 1.6.1
