/[ascend]/trunk/base/generic/utilities/ascConfig.h
ViewVC logotype

Diff of /trunk/base/generic/utilities/ascConfig.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 506 by johnpye, Tue Apr 18 14:30:39 2006 UTC revision 507 by johnpye, Wed Apr 19 02:44:25 2006 UTC
# Line 99  Line 99 
99      as well.      as well.
100  */  */
101  #ifdef __WIN32__  #ifdef __WIN32__
102  # define ASC_EXPORT(TYPE) extern __declspec(dllexport) TYPE  # define ASC_EXPORT(TYPE) __declspec(dllexport) TYPE
103  # define ASC_IMPORT(TYPE) extern __declspec(dllimport) TYPE  # define ASC_IMPORT(TYPE) __declspec(dllimport) TYPE
104  #else  #else
105  # ifdef HAVE_GCCVISIBILITY  # ifdef HAVE_GCCVISIBILITY
106  #  define ASC_EXPORT(TYPE) extern __attribute__ ((visibility("default"))) TYPE  #  define ASC_EXPORT(TYPE) __attribute__ ((visibility("default"))) TYPE
107  #  define ASC_IMPORT(TYPE) extern TYPE  #  define ASC_IMPORT(TYPE) TYPE
108  # else  # else
109  #  define ASC_EXPORT(TYPE) extern TYPE  #  define ASC_EXPORT(TYPE) TYPE
110  #  define ASC_IMPORT(TYPE) extern TYPE  #  define ASC_IMPORT(TYPE) TYPE
111  # endif  # endif
112  #endif  #endif
113    
114  #ifdef ASC_BUILDING_LIBASCEND  #ifdef ASC_BUILDING_LIBASCEND
115  # define ASC_DLLSPEC(TYPE) ASC_EXPORT(TYPE)  # define ASC_DLLSPEC(TYPE) extern ASC_EXPORT(TYPE)
116  #else  #else
117  # define ASC_DLLSPEC(TYPE) ASC_IMPORT(TYPE)  # define ASC_DLLSPEC(TYPE) extern ASC_IMPORT(TYPE)
118  #endif  #endif
119    
120  #if !defined(ASC_DLLSPEC) || !defined(ASC_EXPORT) || !defined(ASC_IMPORT)  #if !defined(ASC_DLLSPEC) || !defined(ASC_EXPORT) || !defined(ASC_IMPORT)

Legend:
Removed from v.506  
changed lines
  Added in v.507

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22