Skip to content
  • Daniel Richard's avatar
    Fix for win32/configure.js and WITH_THREAD_ALLOC · a0571ebe
    Daniel Richard authored and Daniel Veillard's avatar Daniel Veillard committed
    Building git master gives me the following error on Windows; this patch
    fixes it:
    
    	icl /EP /nologo /I..\include /D "NOLIBTOOL" /D "_REENTRANT"
    libxml2.def.
    src > int.msvc\libxml2.def
    libxml2.def.src
    Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
    error: unrecognized token
      #if @WITH_THREAD_ALLOC@
          ^
    Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
    error: expected an expression
      #if @WITH_THREAD_ALLOC@
          ^
    Z:\...\libxml2-git8123c4f6_debug\win32\../include/libxml/xmlversion.h(105):
    error: unrecognized token
      #if @WITH_THREAD_ALLOC@
                            ^
    NMAKE : fatal error U1077: 'icl' : return code '0x2'
    Stop.
    a0571ebe