From e11f8d32b21c8db913712fc6b7eddfa9f3902c81 Mon Sep 17 00:00:00 2001 From: Erwin Janssen Date: Sun, 18 Sep 2016 23:16:28 +0200 Subject: [PATCH] Remove define and usage of `_hdr_stdint` This define is used in `lib/sfio` to determine if it is alright to include ``. Since we are compiling with standard C and stdint.h is part of the standard, we can safely assume this check always evaluates to true and remove it. --- ast_common.h.in | 4 ---- lib/sfio/sfhdr.h | 3 --- 2 files changed, 7 deletions(-) diff --git a/ast_common.h.in b/ast_common.h.in index 3654e3111..c72778299 100644 --- a/ast_common.h.in +++ b/ast_common.h.in @@ -51,10 +51,6 @@ # define _sys_stat 1 #endif -#ifdef HAVE_STDINT_H -# define _hdr_stdint 1 -#endif - #ifdef HAVE_STDARG_H # define _hdr_stdarg 1 #endif diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 88139add8..2abd8f9aa 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -92,10 +92,7 @@ extern "C" { #include #include - -#if _hdr_stdint #include -#endif #if _hdr_stddef #include -- 2.40.0