]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence deprecated warning
authorMark Andrews <marka@isc.org>
Mon, 19 Apr 2004 05:48:02 +0000 (05:48 +0000)
committerMark Andrews <marka@isc.org>
Mon, 19 Apr 2004 05:48:02 +0000 (05:48 +0000)
bin/win32/BINDInstall/BINDInstall.cpp

index aec8076ab357c36184188b812031c2eb777ddcc6..517f519221b430bc3829f4bb19349f4beb1ed4ef 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: BINDInstall.cpp,v 1.4 2004/03/05 05:04:16 marka Exp $ */
+/* $Id: BINDInstall.cpp,v 1.5 2004/04/19 05:48:02 marka Exp $ */
 
 /*
  * Copyright (c) 1999-2000 by Nortel Networks Corporation
@@ -78,11 +78,12 @@ BOOL CBINDInstallApp::InitInstance()
        // If you are not using these features and wish to reduce the size
        //  of your final executable, you should remove from the following
        //  the specific initialization routines you do not need.
-
+#if _MSC_VER < 1300
 #ifdef _AFXDLL
        Enable3dControls();                     // Call this when using MFC in a shared DLL
 #else
        Enable3dControlsStatic();       // Call this when linking to MFC statically
+#endif
 #endif
 
        CBINDInstallDlg dlg;