Go to the documentation of this file.00001 #ifndef __NN_DLL_H
00002 #define __NN_DLL_H
00003
00004 #ifdef USINGDLL
00005 #if defined ( WIN32 )
00006
00007 #if defined ( __VISUALC__ ) || defined ( _MSC_VER ) || defined ( __BORLANDC__ ) || defined ( __GNUC__ ) || defined ( __WATCOMC__ )
00008 #define NNDLLEXPORT __declspec( dllexport )
00009 #define NNDLLIMPORT __declspec( dllimport )
00010 #else
00011 #define NNDLLEXPORT
00012 #define NNDLLIMPORT
00013 #endif
00014 #elif defined ( __CYGWIN__ )
00015 #define NNDLLEXPORT __declspec( dllexport )
00016 #define NNDLLIMPORT __declspec( dllimport )
00017 #elif defined ( __GNUC__ ) && __GNUC__ > 3
00018
00019
00020
00021 #define NNDLLEXPORT __attribute__ ( ( visibility( "default" ) ) )
00022 #define NNDLLIMPORT
00023 #endif
00024 #endif
00025
00026
00027 #ifndef NNDLLEXPORT
00028 #define NNDLLEXPORT
00029 #define NNDLLIMPORT
00030 #endif
00031
00032
00033
00034
00035
00036 #if defined ( csironn_EXPORTS )
00037 #define NNDLLIMPEXP NNDLLEXPORT
00038 #define NNDLLIMPEXP_DATA( type ) NNDLLEXPORT type
00039 #else
00040 #define NNDLLIMPEXP NNDLLIMPORT
00041 #define NNDLLIMPEXP_DATA( type ) NNDLLIMPORT type
00042 #endif
00043
00044 #endif // __NN_DLL_H