[pango] Bug 652227 - Unconditional use of stdint.h
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Bug 652227 - Unconditional use of stdint.h
- Date: Sat, 11 Jun 2011 03:09:07 +0000 (UTC)
commit 8e0fa0d1ab97c256829dab28a5c371689584bcd3
Author: Behdad Esfahbod <behdad behdad org>
Date: Fri Jun 10 23:07:58 2011 -0400
Bug 652227 - Unconditional use of stdint.h
pango/opentype/hb-common.h | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/pango/opentype/hb-common.h b/pango/opentype/hb-common.h
index 11f64ed..a6be6ba 100644
--- a/pango/opentype/hb-common.h
+++ b/pango/opentype/hb-common.h
@@ -27,7 +27,11 @@
#ifndef HB_COMMON_H
#define HB_COMMON_H
-#include <stdint.h>
+# ifdef HAVE_STDINT_H
+# include <stdint.h>
+# else ifdef HAVE_INTTYPES_H
+# include <inttypes.h>
+# endif
# ifdef __cplusplus
# define HB_BEGIN_DECLS extern "C" {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]