In file included from ../../../hbsocket.c:223:0:
../../../hbsocket.c: In function 'hb_socketSetOsError':
../../../hbsocket.c:1109:12: error: 'ERROR_NOT_ENOUGH_MEMORY' undeclared (first use in this function)
case WSA_NOT_ENOUGH_MEMORY:
^
../../../hbsocket.c:1109:12: note: each undeclared identifier is reported only once for each function it appears in
../../../hbsocket.c: In function 'hb_socketGetIFaces':
../../../hbsocket.c:4088:29: error: 'ERROR_BUFFER_OVERFLOW' undeclared (first use in this function)
if( dwResult == ERROR_BUFFER_OVERFLOW )
^~~~~~~~~~~~~~~~~~~~~
../../../hbsocket.c:4094:29: error: 'NO_ERROR' undeclared (first use in this function)
if( dwResult == NO_ERROR )
^~~~~~~~
../../../../../config/
rules.mk:88: recipe for target 'hbsocket.o' failed
win-make[3]: *** [hbsocket.o] Error 1
../../config/
lib.mk:68: recipe for target 'descend' failed
win-make[2]: *** [descend] Error 2
../config/
dir.mk:71: recipe for target 'rtl' failed
win-make[1]: *** [rtl] Error 2
config/
dir.mk:71: recipe for target 'src' failed
win-make: *** [src] Error 2
errors solved adding this code to c:\harbour\src\rtl\hbsocket.c