Parcourir la source

1、删除无用的宏开关
2、纠正Release加载ini失败的问题。

scbc il y a 5 ans
Parent
commit
03c5a07ad6
2 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 1
      SATService/SATService/Global.cpp
  2. 0 1
      SATService/SATService/stdafx.h

+ 1 - 1
SATService/SATService/Global.cpp

@@ -188,7 +188,7 @@ namespace GLOBAL
 		if (szPath != NULL && szIniName != NULL)
 			StringCchPrintf(szIniPath, MAX_PATH, _T("%s%s"), szPath, szIniName);
 		else
-#if defined _DEBUG || defined RTEST || defined _DBG_TEST_SERVER_
+#if defined _DEBUG || defined RTEST || defined DBG_SERVER
 			StringCchPrintf(szIniPath, MAX_PATH, _T("%sSATService_Test.ini"), g_szCurModuleDir);
 #else
 			StringCchPrintf(szIniPath, MAX_PATH, _T("%sSATService.ini"), g_szCurModuleDir);

+ 0 - 1
SATService/SATService/stdafx.h

@@ -26,7 +26,6 @@
 #endif // _AFX_NO_AFXCMN_SUPPORT
 
 //#define _DBG_SOMKING_
-#define _DBG_TEST_SERVER_
 
 #include <iostream>
 #include <string>