3 Replies Latest reply on Apr 3, 2014 6:16 AM by tomjenkinson

    Blacktie : compilation with Microsoft Visual Studio 2012

    gleysour

      Hello,

       

      Compilation with Microsoft Visual Studio 2012

       

      Need a little fix in the "tx.h" header

       

      => TRANSACTION_STATE is now already defined in sdk windows

       

      Here the patch (same as tuxedo done in his tx.h)

       

      /* transaction state values */

      #if ( defined(WIN32) && ( ( _MSC_VER >= 1500 ) || defined(__BORLANDC__) ) )

      typedef long TX_TRANSACTION_STATE;

      #else

      typedef long TRANSACTION_STATE;

      #endif

       

      #if ( defined(WIN32) && ( ( _MSC_VER >= 1500 ) || defined(__BORLANDC__) ) )

          TX_TRANSACTION_STATE   transaction_state;

      #else

          TRANSACTION_STATE   transaction_state;

      #endif