OSDN Git Service

余分なコードを削除。
authorsirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sun, 27 Dec 2009 13:51:12 +0000 (13:51 +0000)
committersirakaba <sirakaba@9df91469-1e22-0410-86e7-ea8537beb833>
Sun, 27 Dec 2009 13:51:12 +0000 (13:51 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/tpi/tpi@178 9df91469-1e22-0410-86e7-ea8537beb833

src/plugin/cuiWrapper/cuiWrapper.cpp

index 878f3f7..1beaa58 100644 (file)
@@ -72,10 +72,6 @@ int myExecute(wxString szCommandLine, wxString * szOutput, wxString szCwd, bool
        // Windows用の方法ではバッファサイズを有限にしか取れない?\r
        // Linux用の方法ではコンソールが表示されてしまう。\r
 #ifdef __LINUX__\r
-#ifndef popen\r
-#define popen _popen\r
-#define pclose _pclose\r
-#endif\r
        wxString sz = ::wxGetCwd();\r
        ::wxSetWorkingDirectory(szCwd);\r
        FILE * fp = popen(szCommandLine.ToUTF8(), "r");\r