Skip to content

Commit d29c268

Browse files
authored
Corrects a preprocessor macro.
Fix another Windows detection macro
2 parents be69197 + 746b6b9 commit d29c268

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/apps/others/ojph_sockets.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace ojph
127127
--ojph_socket_manager_counter;
128128
if (ojph_socket_manager_counter == 0)
129129
{
130-
#ifdef _MSC_VER
130+
#ifdef OJPH_OS_WINDOWS
131131
WSACleanup();
132132
#endif
133133
}

0 commit comments

Comments
 (0)