diff options
author | Constantin Kaplinsky <const@tightvnc.com> | 2006-05-11 09:34:42 +0000 |
---|---|---|
committer | Constantin Kaplinsky <const@tightvnc.com> | 2006-05-11 09:34:42 +0000 |
commit | 816b91ca37677ab486504f774f879366515650a1 (patch) | |
tree | a04d086e3849f4f51e5f9a73b48a9452c0f388f0 /rdr/msvcwarning.h | |
parent | 7f8d774eab739271839b4b5c266263009a086595 (diff) | |
download | tigervnc-816b91ca37677ab486504f774f879366515650a1.tar.gz tigervnc-816b91ca37677ab486504f774f879366515650a1.zip |
Updated rdr/msvcwarning.h from VNC 4.1.1, removed other msvcwarning.h files, updated .dsp files accordingly.
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/branches/merge-with-vnc-4.1.1@548 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'rdr/msvcwarning.h')
-rw-r--r-- | rdr/msvcwarning.h | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/rdr/msvcwarning.h b/rdr/msvcwarning.h index e93f2bbc..bea8d3f4 100644 --- a/rdr/msvcwarning.h +++ b/rdr/msvcwarning.h @@ -1,5 +1,5 @@ -/* Copyright (C) 2002-2003 RealVNC Ltd. All Rights Reserved. - * +/* Copyright (C) 2002-2005 RealVNC Ltd. All Rights Reserved. + * * This is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or @@ -15,4 +15,12 @@ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, * USA. */ + +// Trim out extraneous cruft from windows.h includes +#define WIN32_LEAN_AND_MEAN + +// Force all Windows NT-specific APIs to be visible +#define _WIN32_WINNT 0xffff + #pragma warning( disable : 4800 ) // forcing bool 'true' or 'false' +#pragma warning( disable : 4786 ) // truncating debug information to 255 chars
\ No newline at end of file |