Skip to content

Commit

Permalink
zap unused typedef bool with "true/false" that breaks in C23
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Jan 17, 2025
1 parent 45b3795 commit 1733c69
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions lib/PDL/MatrixOps/sslib.h
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,6 @@
# define PI 3.141592653589793238462643
#endif

/***** A boolean type *****/
typedef enum {false=0, true=1} bool;

/***** Pratical macros *****/
#define min(x, y) ((x)>(y))?(y):(x)
#define max(x, y) ((x)>(y))?(x):(y)
Expand Down

0 comments on commit 1733c69

Please sign in to comment.