summaryrefslogtreecommitdiff
path: root/sal
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2011-11-21 10:40:42 +0000
committerCaolán McNamara <caolanm@redhat.com>2011-11-21 10:40:42 +0000
commit2c46cde2edf25e8c9ae6f591b52a6b7c086fe166 (patch)
tree4d30aed732cd2bb9a905662c87dccfdbde2d42c7 /sal
parent0d0ffe3ff12bee296440bb39aadd3edc0c735ad6 (diff)
poke __cplusplus into workben comparison tool
Diffstat (limited to 'sal')
-rw-r--r--sal/workben/measure_oustrings.cxx2
-rw-r--r--sal/workben/testproc.cxx12
2 files changed, 2 insertions, 12 deletions
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;
}