Skip to content

Commit

Permalink
FIX : Changed call to a deprecated library (values.h) in nem to make …
Browse files Browse the repository at this point in the history
…it work on macOS
  • Loading branch information
Adelme Bazin committed Sep 25, 2019
1 parent cedb35a commit 5bfb77c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.3.87
0.3.88
5 changes: 4 additions & 1 deletion ppanggolin/nem/NEM/nem_alg.c
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,10 @@ Vers-mod Date Who Description
#include <string.h> /* memcpy */
#include <math.h> /* exp */
#include <time.h> /* time */
#include "values.h" /* MINFLOAT */
#include <float.h> /* FLT_MAX */

#define MINFLOAT FLT_MIN /* alias value for compatibility issues */

#ifdef __TURBOC__
#include <alloc.h> /* coreleft, ... */
#endif
Expand Down
3 changes: 1 addition & 2 deletions ppanggolin/nem/NEM/nem_mod.c
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@
#include <stdlib.h> /* malloc, ... */
#include <string.h> /* memcpy, ... */
#include <math.h> /* exp, ... */
#include "values.h" /* MAXFLOAT */

#include <float.h> /* FLT_MAX */

#define TWO_PI 2 * 3.14159

Expand Down

0 comments on commit 5bfb77c

Please sign in to comment.