~ubuntu-branches/ubuntu/quantal/zeroc-ice/quantal

« back to all changes in this revision

Viewing changes to cpp/demo/Ice/MFC/server/stdafx.h

  • Committer: Bazaar Package Importer
  • Author(s): Cleto Martin Angelina
  • Date: 2011-04-25 18:44:24 UTC
  • mfrom: (6.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20110425184424-sep9i9euu434vq4c
Tags: 3.4.1-7
* Bug fix: "libdb5.1-java.jar was renamed to db.jar", thanks to Ondřej
  Surý (Closes: #623555).
* Bug fix: "causes noise in php5", thanks to Jayen Ashar (Closes:
  #623533).

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
// **********************************************************************
2
2
//
3
 
// Copyright (c) 2003-2009 ZeroC, Inc. All rights reserved.
 
3
// Copyright (c) 2003-2010 ZeroC, Inc. All rights reserved.
4
4
//
5
5
// This copy of Ice is licensed to you under the terms described in the
6
6
// ICE_LICENSE file included in this distribution.
33
33
#endif
34
34
 
35
35
#ifndef WINVER
36
 
#  if defined(_MSC_VER) && _MSC_VER > 1300
 
36
#  if defined(_MSC_VER) && _MSC_VER > 1300 && _MSC_VER < 1600
37
37
#    define WINVER 0x0400
 
38
#  elif defined(_MSC_VER) && _MSC_VER >=1600
 
39
 #   define WINVER 0x0501
38
40
#  endif
39
41
#endif
40
42
 
41
43
#ifndef _WIN32_IE                       // Allow use of features specific to IE 4.0 or later.
42
 
#define _WIN32_IE 0x0400        // Change this to the appropriate value to target IE 5.0 or later.
 
44
#   if defined(_MSC_VER) && _MSC_VER >=1600
 
45
#      define _WIN32_IE 0x0500        // Change this to the appropriate value to target IE 5.0 or later.
 
46
#   else
 
47
#      define _WIN32_IE 0x0400        
 
48
#   endif
43
49
#endif
44
50
 
45
51
#define _ATL_CSTRING_EXPLICIT_CONSTRUCTORS      // some CString constructors will be explicit