Pārlūkot izejas kodu

Änderungen in GfaSysInfo

Rind 3 gadi atpakaļ
vecāks
revīzija
e22346885a
2 mainītis faili ar 3 papildinājumiem un 1 dzēšanām
  1. 1 1
      gfasysinfo/gfasysinfo.pro
  2. 2 0
      gfasysinfo/src/main.cpp

+ 1 - 1
gfasysinfo/gfasysinfo.pro

@@ -21,7 +21,7 @@ CONFIG(release, debug|release) {
 linux-buildroot-g++ {
     QMAKE_CXXFLAGS += -D_TARGET_BUILD
     QMAKE_CFLAGS += -D_TARGET_BUILD
-    target.path += /opt/GfA/ipc/sysinfo
+    target.path += /opt/GfA/bin
 	INSTALLS += target
 }
 

+ 2 - 0
gfasysinfo/src/main.cpp

@@ -49,6 +49,7 @@ static volatile bool						g_fZombie	= false;
 
 /////////////////////////////////////////////////////////////////////////////
 
+#ifdef _DEBUG
 static const char *g_pszStateNames[] =
 {
 	"Not running",
@@ -59,6 +60,7 @@ static const char *g_pszStateNames[] =
 	"Terminating",
 	"Invalid"
 };
+#endif	//	_DEBUG
 
 /////////////////////////////////////////////////////////////////////////////
 #if 0