apps-gorm/GormLib/IBSystem.h

43 lines
1.3 KiB
C
Raw Normal View History

/* Plateform specific definitions for externs
Copyright (C) 2001 Free Software Foundation, Inc.
Written by: Gregory John Casamento <greg_casamento@yahoo.com>
Based on AppKitDefines.h by: Adam Fedor <fedor@gnu.org>
Date: Dec, 2004
This file is part of GNUstep.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Library General Public
License as published by the Free Software Foundation; either
version 2 of the License, or (at your option) any later version.
This library 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
Library General Public License for more details.
You should have received a copy of the GNU Library General Public
License along with this library; if not, write to the Free
Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111 USA.
*/
#ifndef IBSystem_INCLUDE
#define IBSystem_INCLUDE
#ifdef GNUSTEP_WITH_DLL
#if BUILD_libGormLib_DLL
# define IB_EXTERN __declspec(dllexport)
#else
# define IB_EXTERN extern __declspec(dllimport)
#endif
#else /* GNUSTEP_WITH[OUT]_DLL */
# define IB_EXTERN extern
#endif
#endif /* IBSystem_INCLUDE */