Skip to content

Commit

Permalink
include: sys/types.h: Prefer stdbool.h over weird custom stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
stephan-gh committed Sep 13, 2021
1 parent 1b649e7 commit 618aa3a
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions include/sys/types.h
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,7 @@
#ifndef __SYS_TYPES_H
#define __SYS_TYPES_H

#ifndef __cplusplus
#define false 0
#define true 1
typedef int bool;
#endif

#include <stdbool.h>
#include <stddef.h>
#include <limits.h>
#include <stdint.h>
Expand Down

0 comments on commit 618aa3a

Please sign in to comment.