gwenhywfar  5.11.1beta
gwen-gui-fox16/api.h
Go to the documentation of this file.
1 /***************************************************************************
2  copyright : (C) 2004 by Martin Preuss
3  email : martin@libchipcard.de
4 
5  ***************************************************************************
6  * Please see toplevel file COPYING for license details *
7  ***************************************************************************/
8 
9 #ifndef GWEN_GUI_FOX16_API_H
10 #define GWEN_GUI_FOX16_API_H
11 
12 
13 #include <gwenhywfar/types.h>
14 
15 
16 #if defined __GNUC__ && (! defined (__sun)) && (__GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) || defined _MSC_VER
17 # ifdef BUILDING_FOX16_GUI
18 /* building Fox16 */
19 # if GWENHYWFAR_SYS_IS_WINDOWS
20 /* for windows */
21 # ifdef __declspec
22 # define FOX16GUI_API __declspec (dllexport)
23 # else /* if __declspec */
24 # define FOX16GUI_API
25 # endif /* if NOT __declspec */
26 # else
27 /* for non-win32 */
28 # ifdef GCC_WITH_VISIBILITY_ATTRIBUTE
29 # define FOX16GUI_API __attribute__((visibility("default")))
30 # else
31 # define FOX16GUI_API
32 # endif
33 # endif
34 # else
35 /* not building Fox16 */
36 # if GWENHYWFAR_SYS_IS_WINDOWS
37 /* for windows */
38 # ifdef __declspec
39 # define FOX16GUI_API __declspec (dllimport)
40 # else /* if __declspec */
41 # define FOX16GUI_API
42 # endif /* if NOT __declspec */
43 # else
44 /* for non-win32 */
45 # define FOX16GUI_API
46 # endif
47 # endif
48 #endif
49 
50 
51 
52 #endif
53