wsdlpull  1.23
wsdlpull_export.h
Go to the documentation of this file.
1 #ifdef _WIN32
2 #if !defined (WSDLPULL_EXPORT_H)
3 #define WSDLPULL_EXPORT_H
4 
5 #ifndef WSDLPULL_EXPORT
6  #if (defined _MSC_VER) && (defined _MT)
7  /*
8  * For Windows builds
9  * Note: all Microsoft compilers define the _MSC_VER macro.
10  * The _MT macro is defined for multithreaded builds.
11  */
12  #if defined(DLLEXPORT)
13  // DLLEXPORT is used when creating a LIB or DLL
14  #define WSDLPULL_EXPORT __declspec (dllexport)
15  #else
16  // DLLIMPORT is used by consumers of LIBs and DLLs.
17  // Set this as the default
18  #define WSDLPULL_EXPORT __declspec (dllimport)
19  #endif
20  #else
21  /*
22  * For Linux or other non-Windows builds
23  */
24  #define WSDLPULL_EXPORT
25  #endif
26 #endif
27 
28 #endif // WSDLPULL_EXPORT_H
29 #else
30  #define WSDLPULL_EXPORT
31 #endif
32 //temp hack
33 #define WSDLPULL_EXPORT