Skip to content
  • Sophie Schrader's avatar
    implementation of getHostName for mingw compiling · 3e3edcb6
    Sophie Schrader authored
    - in case of mingw compiling, windows.h is included
    - this header provides GetComputerName() for which no additional linking
    is necessary
    - if the buffer is too small, the return value of GetComputerName() is 0
    and the required buffersize is specified
    3e3edcb6