Skip to content

Commit

Permalink
Ignore warnings for deprecated WINSOCK things
Browse files Browse the repository at this point in the history
Partial solve of #1
harryyoud committed Jul 29, 2017
1 parent 27c4a68 commit 404354c
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions miniWinVNC/vncclient.cpp
Original file line number Diff line number Diff line change
@@ -39,6 +39,10 @@
// vncServer to communicate with.

// Includes
// Ignore warnings about deprecated WINSOCK stuff.
// TODO: Fix these properly
#define _WINSOCK_DEPRECATED_NO_WARNINGS 1

#include "stdhdrs.h"
#include <omnithread.h>
#include "resource.h"
4 changes: 4 additions & 0 deletions miniWinVNC/vsocket.cpp
Original file line number Diff line number Diff line change
@@ -33,6 +33,10 @@ class VSocket;
////////////////////////////////////////////////////////
// System includes

// Ignore warnings about deprecated WINSOCK stuff.
// TODO: Fix these properly
#define _WINSOCK_DEPRECATED_NO_WARNINGS 1

#include "stdhdrs.h"
#include <iostream>

0 comments on commit 404354c

Please sign in to comment.