Explorar o código

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

scbc %!s(int64=5) %!d(string=hai) anos
pai
achega
03c5a07ad6
Modificáronse 2 ficheiros con 1 adicións e 2 borrados
  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>