From 2c46cde2edf25e8c9ae6f591b52a6b7c086fe166 Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Mon, 21 Nov 2011 10:40:42 +0000 Subject: poke __cplusplus into workben comparison tool --- sal/workben/measure_oustrings.cxx | 2 +- sal/workben/testproc.cxx | 12 +----------- 2 files changed, 2 insertions(+), 12 deletions(-) (limited to 'sal') diff --git a/sal/workben/measure_oustrings.cxx b/sal/workben/measure_oustrings.cxx index f9ce02bec8bd..eff82c814d0f 100644 --- a/sal/workben/measure_oustrings.cxx +++ b/sal/workben/measure_oustrings.cxx @@ -45,7 +45,7 @@ int COUNT = 1; int COUNT = 10000000; #endif -#if defined __GXX_EXPERIMENTAL_CXX0X__ +#if defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L # define HAVE_CXX_Ox 1 #endif diff --git a/sal/workben/testproc.cxx b/sal/workben/testproc.cxx index ed515ef2e9ea..c015d08cb187 100644 --- a/sal/workben/testproc.cxx +++ b/sal/workben/testproc.cxx @@ -43,7 +43,6 @@ int MAIN (void) { //oslProcess Process; - oslProcessError ProcessError; sal_uInt32 nArgCount; sal_uInt32 index; rtl_uString* ustrExeFile=0; @@ -62,17 +61,8 @@ int MAIN (void) fprintf(stderr,"done ...\n\n"); } - ProcessError = osl_getExecutableFile(&ustrExeFile); + osl_getExecutableFile(&ustrExeFile); -/* - osl_executeProcess( "e:\\test\\os2de202.exe", - NULL, - osl_Process_NORMAL, - 0L, - NULL, - NULL, - NULL, - &Process );*/ return 0; } -- cgit