浏览代码

fix warning

Bill Hoffman 23 年之前
父节点
当前提交
e57d209bdc
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      Source/MFCDialog/CMakeSetup.cpp

+ 2 - 2
Source/MFCDialog/CMakeSetup.cpp

@@ -50,13 +50,13 @@ BOOL CMakeSetup::InitInstance()
   // If you are not using these features and wish to reduce the size
   // If you are not using these features and wish to reduce the size
   //  of your final executable, you should remove from the following
   //  of your final executable, you should remove from the following
   //  the specific initialization routines you do not need.
   //  the specific initialization routines you do not need.
-
+#if _MFC_VER <= 0x421
 #ifdef _AFXDLL
 #ifdef _AFXDLL
   Enable3dControls();			// Call this when using MFC in a shared DLL
   Enable3dControls();			// Call this when using MFC in a shared DLL
 #else
 #else
   Enable3dControlsStatic();	// Call this when linking to MFC statically
   Enable3dControlsStatic();	// Call this when linking to MFC statically
 #endif
 #endif
-
+#endif
   CMakeCommandLineInfo cmdInfo;
   CMakeCommandLineInfo cmdInfo;
   ParseCommandLine(cmdInfo);
   ParseCommandLine(cmdInfo);