Skip to content

Commit

Permalink
[ci] fix windows-2019 gcc error
Browse files Browse the repository at this point in the history
  • Loading branch information
fangq committed Nov 29, 2024
1 parent e6c4ed9 commit d28110b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/mmc_rand_common.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@
#ifndef _MMC_RNG_COMMON_H
#define _MMC_RNG_COMMON_H

#ifndef M_PI
#define M_PI 3.14159265358979323846
#endif

#define TWO_PI (M_PI*2.0)
#define EPS 1e-6f
#define EPS2 0.1*EPS
Expand Down

0 comments on commit d28110b

Please sign in to comment.