gwenhywfar
4.3.3
|
00001 /*************************************************************************** 00002 copyright : (C) 2004 by Martin Preuss 00003 email : martin@libchipcard.de 00004 00005 *************************************************************************** 00006 * Please see toplevel file COPYING for license details * 00007 ***************************************************************************/ 00008 00009 #ifndef GWEN_GUI_FOX16_API_H 00010 #define GWEN_GUI_FOX16_API_H 00011 00012 00013 #include <gwenhywfar/types.h> 00014 00015 00016 #if defined __GNUC__ && (! defined (__sun)) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) 00017 # ifdef BUILDING_FOX16_GUI 00018 /* building Fox16 */ 00019 # if GWENHYWFAR_SYS_IS_WINDOWS 00020 /* for windows */ 00021 # ifdef __declspec 00022 # define FOX16GUI_API __declspec (dllexport) 00023 # else /* if __declspec */ 00024 # define FOX16GUI_API 00025 # endif /* if NOT __declspec */ 00026 # else 00027 /* for non-win32 */ 00028 # ifdef GCC_WITH_VISIBILITY_ATTRIBUTE 00029 # define FOX16GUI_API __attribute__((visibility("default"))) 00030 # else 00031 # define FOX16GUI_API 00032 # endif 00033 # endif 00034 # else 00035 /* not building Fox16 */ 00036 # if GWENHYWFAR_SYS_IS_WINDOWS 00037 /* for windows */ 00038 # ifdef __declspec 00039 # define FOX16GUI_API __declspec (dllimport) 00040 # else /* if __declspec */ 00041 # define FOX16GUI_API 00042 # endif /* if NOT __declspec */ 00043 # else 00044 /* for non-win32 */ 00045 # define FOX16GUI_API 00046 # endif 00047 # endif 00048 #endif 00049 00050 00051 00052 #endif 00053