Skip to content
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.

Commit

Permalink
Use min_normal instead of deprecated min property.
Browse files Browse the repository at this point in the history
This fixes the warning "min property is deprecated, use min_normal instead". Otherwise it is not possible to compile druntime with -w switch.
  • Loading branch information
redstar committed Nov 26, 2012
1 parent fad5745 commit 5c53bfd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/core/stdc/float_.d
Expand Up @@ -31,9 +31,9 @@ enum FLT_MANT_DIG = float.mant_dig;
enum DBL_MANT_DIG = double.mant_dig;
enum LDBL_MANT_DIG = real.mant_dig;

enum FLT_MIN = float.min;
enum DBL_MIN = double.min;
enum LDBL_MIN = real.min;
enum FLT_MIN = float.min_normal;
enum DBL_MIN = double.min_normal;
enum LDBL_MIN = real.min_normal;

enum FLT_MAX = float.max;
enum DBL_MAX = double.max;
Expand Down

0 comments on commit 5c53bfd

Please sign in to comment.