Mercurial > octave-nkf
comparison src/profiler.cc @ 13272:4916b436d0bb
use correct macro to indentify MinGW
* profiler.cc (profile_data_accumulator::query_time):
Use __MINGW32__, not __MINGW__.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Tue, 04 Oct 2011 13:17:25 -0400 |
parents | eae58f217102 |
children | 72c96de7a403 |
comparison
equal
deleted
inserted
replaced
13271:fba2cc36b762 | 13272:4916b436d0bb |
---|---|
384 double | 384 double |
385 profile_data_accumulator::query_time (void) const | 385 profile_data_accumulator::query_time (void) const |
386 { | 386 { |
387 octave_time now; | 387 octave_time now; |
388 // FIXME -- this should be removed at some point... See bug 34210. | 388 // FIXME -- this should be removed at some point... See bug 34210. |
389 #if defined (__CYGWIN__) || defined (__MINGW__) | 389 #if defined (__CYGWIN__) || defined (__MINGW32__) |
390 volatile | 390 volatile |
391 #endif | 391 #endif |
392 double dnow = now.double_value (); | 392 double dnow = now.double_value (); |
393 return dnow; | 393 return dnow; |
394 } | 394 } |