Skip to content

Commit

Permalink
Disable stdout buf
Browse files Browse the repository at this point in the history
  • Loading branch information
polarker committed Nov 29, 2021
1 parent 9cdbd36 commit c8bed74
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main.cu
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ int hostname_to_ip(char *ip_address, char *hostname)

int main(int argc, char **argv)
{
setbuf(stdout, NULL);

#ifdef _WIN32
WSADATA wsa;
// current winsocket version is 2.2
Expand Down

0 comments on commit c8bed74

Please sign in to comment.