Skip to content

Commit

Permalink
Remove silly true/false defines
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 11, 2011
1 parent dc52fd1 commit 0e42d4a
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions include/dohp.h
Original file line number Diff line number Diff line change
Expand Up @@ -98,13 +98,6 @@ static inline void dTensorSymUncompress3(const dScalar Du[6],dScalar Dv[9])

#define dGamma(a) tgamma(a) /* This is defined in math.h as of C99. */

#ifndef false
# define false PETSC_FALSE
#endif
#ifndef true
# define true PETSC_TRUE
#endif

/* stdbool.h has small (1 byte) bools, PETSc uses an enum which has few size guarantees, so we use it directly and keep
* it out of our public interface (which is why these typedefs are here and not in dohptype.h).
**/
Expand Down

0 comments on commit 0e42d4a

Please sign in to comment.