diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2021-05-01 17:05:29 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2021-05-01 17:05:29 +0100 |
commit | bd138412579e9a7c251ea8f2f1bb2cdb3d0bf95b (patch) | |
tree | 05449a6c559fd2f2e3bc9e8f8e7f3a1e676a90b5 /src/cairo-atomic-private.h | |
parent | bfd1602db9fd0d23074ef4d1628de66d70241c3b (diff) | |
download | cairo-bd138412579e9a7c251ea8f2f1bb2cdb3d0bf95b.tar.gz |
Drop the conditional inclusion of config.h
We *always* generate this file, and we depend on its existence.
The idea behind HAVE_CONFIG_H was being able to include random files
from different projects, back in a time where "libraries" were literally
just random files instead of actual shared objects.
Since we're not in the '80s any more, and our build system(s) define
HAVE_CONFIG_H *and* generate the config.h header file, we don't need a
conditional guard around its inclusion.
Diffstat (limited to 'src/cairo-atomic-private.h')
-rw-r--r-- | src/cairo-atomic-private.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/cairo-atomic-private.h b/src/cairo-atomic-private.h index 70d4b79d6..d23192b41 100644 --- a/src/cairo-atomic-private.h +++ b/src/cairo-atomic-private.h @@ -39,11 +39,9 @@ #ifndef CAIRO_ATOMIC_PRIVATE_H #define CAIRO_ATOMIC_PRIVATE_H -# include "cairo-compiler-private.h" +#include "cairo-compiler-private.h" -#if HAVE_CONFIG_H #include "config.h" -#endif #include <assert.h> |