diff --git a/include/dlib.h b/include/dlib.h index 7db27be..508f62d 100644 --- a/include/dlib.h +++ b/include/dlib.h @@ -1,7 +1,9 @@ #ifndef __DLIB_H #define __DLIB_H 1 -typedef enum { false, true } bool; +#if __STDC_VERSION__ < 202311L + typedef enum { false, true } bool; +#endif enum { ERROR, SUCCESS, DLIB_MAXBUF = 1024 }; #define DLIB_VERSION "0.1b"