Use config_ac.h consistently and correctly

This commit is contained in:
Daniel Richard G
2023-05-11 21:07:17 -04:00
parent 7fe7ce9434
commit 42d32e7496
8 changed files with 27 additions and 6 deletions
+5 -2
View File
@@ -63,8 +63,11 @@
* PERFORMANCE OF THIS SOFTWARE.
*/
#if defined(HAVE_CONFIG_H)
#include <config_ac.h>
#ifndef PIXMAN_REGION_MAX
#error "This file should be #included from pixman-region16.c, not compiled directly"
#endif
#ifndef CONFIG_AC_H
#error "config_ac.h not visible in pixman-region.c"
#endif
#define PIXREGION_NIL(reg) ((reg)->data && !(reg)->data->numRects)