summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:58:24 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2007-11-02 11:58:24 +0000
commit7ef457f4c83191d9b976f5696619f394033481ec (patch)
tree42e14b09f3a5e1676f0814e5f55db12c36446a8a /tools
parentINTEGRATION: CWS os2port02 (1.25.48); FILE MERGED (diff)
downloadcore-7ef457f4c83191d9b976f5696619f394033481ec.tar.gz
core-7ef457f4c83191d9b976f5696619f394033481ec.zip
INTEGRATION: CWS os2port02 (1.16.8); FILE MERGED
2007/09/30 12:08:49 ydario 1.16.8.1: Issue number: i82034 Submitted by: ydario Reviewed by: ydario Commit of changes for OS/2 CWS source code integration.
Diffstat (limited to 'tools')
-rw-r--r--tools/bootstrp/command.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/bootstrp/command.cxx b/tools/bootstrp/command.cxx
index 95b03c2c5912..bf4a3fc4351f 100644
--- a/tools/bootstrp/command.cxx
+++ b/tools/bootstrp/command.cxx
@@ -4,9 +4,9 @@
*
* $RCSfile: command.cxx,v $
*
- * $Revision: 1.16 $
+ * $Revision: 1.17 $
*
- * last change: $Author: kz $ $Date: 2007-09-06 14:13:49 $
+ * last change: $Author: hr $ $Date: 2007-11-02 12:58:24 $
*
* The Contents of this file are made available subject to
* the terms of GNU Lesser General Public License Version 2.1.
@@ -67,7 +67,7 @@
//#define MH_TEST2 1 // fuers direkte Testen
-#if defined WNT
+#if defined(WNT) || defined(OS2)
#ifdef _MSC_VER
#pragma warning (push,1)
#endif
@@ -92,7 +92,7 @@
#include <tools/svwin.h>
#endif
-#if defined WNT
+#if defined(WNT) || defined(OS2)
#define cPathSeperator ';'
#endif
#ifdef UNX
@@ -451,6 +451,8 @@ CCommand::operator const int()
int nRet;
#if defined WNT
nRet = _spawnv( P_WAIT, ppArgv[0], (const char **) ppArgv );
+#elif defined OS2
+ nRet = _spawnv( P_WAIT, ppArgv[0], ppArgv );
#elif defined UNX
//fprintf( stderr, "CComand : operator (int) not implemented\n");
// **** Unix Implementierung ***************