Skip to content

Commit

Permalink
Disable networking on Windows because they require proprietary stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
vkoskiv committed Jan 22, 2020
1 parent ca1b8f7 commit 38736d0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/utils/networking.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,12 @@
#include "../includes.h"
#include "networking.h"

//Windows is annoying, so it's just not going to have networking. Because it is annoying and proprietary.
#ifndef WINDOWS

#include "../utils/logging.h"
#include <netdb.h>
#include <netinet/in.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <unistd.h>
Expand Down Expand Up @@ -82,3 +87,4 @@ int start_interactive() {
return 0;
}

#endif

0 comments on commit 38736d0

Please sign in to comment.