comparison OrthancServer/DicomProtocol/DicomUserConnection.cpp @ 2340:b5a04d983647

fix mingw build
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 17 Jul 2017 22:35:42 +0200
parents 174c3616ab6d
children 3ab96768d144
comparison
equal deleted inserted replaced
2339:6e26d363dc53 2340:b5a04d983647
103 * "The maximum length, in bytes, of the string returned in the buffer 103 * "The maximum length, in bytes, of the string returned in the buffer
104 * pointed to by the name parameter is dependent on the namespace provider, 104 * pointed to by the name parameter is dependent on the namespace provider,
105 * but this string must be 256 bytes or less. 105 * but this string must be 256 bytes or less.
106 * http://msdn.microsoft.com/en-us/library/windows/desktop/ms738527(v=vs.85).aspx 106 * http://msdn.microsoft.com/en-us/library/windows/desktop/ms738527(v=vs.85).aspx
107 **/ 107 **/
108 #define HOST_NAME_MAX 256 108 # define HOST_NAME_MAX 256
109 # include <winsock.h>
109 #endif 110 #endif
110 111
111 112
112 #if !defined(HOST_NAME_MAX) && defined(_POSIX_HOST_NAME_MAX) 113 #if !defined(HOST_NAME_MAX) && defined(_POSIX_HOST_NAME_MAX)
113 /** 114 /**