mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-27 06:20:42 +00:00
45 lines
1.4 KiB
C
45 lines
1.4 KiB
C
|
/* Plateform specific definitions for externs
|
||
|
Copyright (C) 2001 Free Software Foundation, Inc.
|
||
|
|
||
|
Written by: Adam Fedor <fedor@gnu.org>
|
||
|
Date: Jul, 2001
|
||
|
|
||
|
This file is part of the GNUstep GUI Library.
|
||
|
|
||
|
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 __AppKitDefines_INCLUDE
|
||
|
#define __AppKitDefines_INCLUDE
|
||
|
|
||
|
#ifdef GNUSTEP_WITH_DLL
|
||
|
|
||
|
#if BUILD_libgnustep_gui_DLL
|
||
|
# define APPKIT_EXPORT __declspec(dllexport)
|
||
|
# define APPKIT_DECLARE __declspec(dllexport)
|
||
|
#else
|
||
|
# define APPKIT_EXPORT extern __declspec(dllimport)
|
||
|
# define APPKIT_DECLARE __declspec(dllimport)
|
||
|
#endif
|
||
|
|
||
|
#else /* GNUSTEP_WITH[OUT]_DLL */
|
||
|
|
||
|
# define APPKIT_EXPORT extern
|
||
|
# define APPKIT_DECLARE
|
||
|
|
||
|
#endif
|
||
|
|
||
|
#endif /* __AppKitDefines_INCLUDE */
|