mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-28 22:26:08 -04:00
Changed to ifdef to be consistent with the rest of the codebase
This commit is contained in:
parent
6385b3c6c7
commit
57d3d9d301
1 changed files with 2 additions and 2 deletions
|
|
@ -4,7 +4,7 @@ module progress_header
|
|||
|
||||
implicit none
|
||||
|
||||
#if (UNIX)
|
||||
#ifdef UNIX
|
||||
interface
|
||||
function check_isatty(fd) bind(C, name = 'isatty')
|
||||
use, intrinsic :: ISO_C_BINDING, only: c_int
|
||||
|
|
@ -39,7 +39,7 @@ contains
|
|||
|
||||
istty = .true.
|
||||
|
||||
#if (UNIX)
|
||||
#ifdef UNIX
|
||||
if (check_isatty(1) == 0) istty = .false.
|
||||
#else
|
||||
istty = .false.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue