Mercurial > octave-nkf
changeset 13270:eae58f217102
use correct macros to identify Cygwin and MinGW
* profiler.cc (profile_data_accumulator::query_time):
Use __CYGWIN__ and __MINGW__, not CYGWIN and MINGW.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Oct 2011 09:57:29 -0400 |
parents | b1882a8217ab |
children | fba2cc36b762 |
files | src/profiler.cc |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/profiler.cc Mon Oct 03 15:05:00 2011 -0400 +++ b/src/profiler.cc Tue Oct 04 09:57:29 2011 -0400 @@ -386,7 +386,7 @@ { octave_time now; // FIXME -- this should be removed at some point... See bug 34210. -#if defined (CYGWIN) || defined (MINGW) +#if defined (__CYGWIN__) || defined (__MINGW__) volatile #endif double dnow = now.double_value ();