DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6357>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=6357

Insert a define to create a Win32 static lib

           Summary: Insert a define to create a Win32 static lib
           Product: XalanC
           Version: 1.3.x
          Platform: PC
        OS/Version: Windows NT/2K
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: XalanC
        AssignedTo: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


We want to create Xalan as static libs for Windows. Therefore the additional define in 
"VCPPDefs.hpp" "XALAN_HAS_LIB" is necessary:

#ifdef XALAN_HAS_LIB
    #define 
XALAN_PLATFORM_EXPORT
    #define XALAN_PLATFORM_IMPORT
#else
    #define 
XALAN_PLATFORM_EXPORT     __declspec(dllexport)
    #define XALAN_PLATFORM_IMPORT     
__declspec(dllimport)
#endif


File "XPathCAPI.h":

#if 
defined(_MSC_VER)
        #ifdef XALAN_HAS_LIB
                #define 
XALAN_XPATHCAPI_EXPORT
                #define XALAN_XPATHCAPI_EXPORT_FUNCTION(T) 
T
        #else
                #if defined(XALAN_XPATHCAPI_BUILD_DLL)
                        #define 
XALAN_XPATHCAPI_EXPORT __declspec(dllexport)
                        #define 
XALAN_XPATHCAPI_EXPORT_FUNCTION(T) T __declspec(dllexport)
                #else
                        #define 
XALAN_XPATHCAPI_EXPORT __declspec(dllimport)
                        #define 
XALAN_XPATHCAPI_EXPORT_FUNCTION(T) T 
__declspec(dllimport)
                #endif
        #endif
#else
        #define 
XALAN_XPATHCAPI_EXPORT
        #define XALAN_XPATHCAPI_EXPORT_FUNCTION(T) 
T
#endif


We also have the corresponding project files (VC++ ".dsp"-file). We can supply 
them to you.

Reply via email to