summaryrefslogtreecommitdiff
path: root/gnulib-local/lib
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2009-04-10 17:25:47 +0200
committerBruno Haible <bruno@clisp.org>2009-04-10 22:28:44 +0200
commit0ddf471de31d50df52d6ec01a9406f73086c6cb0 (patch)
tree0649226f0f47e368ec824af62f332c1561611080 /gnulib-local/lib
parent2247ec07cae76d7ea6f002d9fa8cd917fd03e1cd (diff)
downloadlibunistring-0ddf471de31d50df52d6ec01a9406f73086c6cb0.tar.gz
Provide installable <stdbool.h>, <stdint.h> replacements.
Diffstat (limited to 'gnulib-local/lib')
-rw-r--r--gnulib-local/lib/unicase.h.diff19
-rw-r--r--gnulib-local/lib/unictype.h.diff19
-rw-r--r--gnulib-local/lib/unistr.h.diff19
-rw-r--r--gnulib-local/lib/unitypes.h.diff19
4 files changed, 76 insertions, 0 deletions
diff --git a/gnulib-local/lib/unicase.h.diff b/gnulib-local/lib/unicase.h.diff
new file mode 100644
index 0000000..1cf9eb3
--- /dev/null
+++ b/gnulib-local/lib/unicase.h.diff
@@ -0,0 +1,19 @@
+*** unicase.h.orig 2009-04-05 19:30:26.000000000 +0200
+--- unicase.h 2009-04-10 16:21:23.000000000 +0200
+***************
+*** 20,26 ****
+ #include "unitypes.h"
+
+ /* Get bool. */
+! #include <stdbool.h>
+
+ /* Get size_t. */
+ #include <stddef.h>
+--- 20,26 ----
+ #include "unitypes.h"
+
+ /* Get bool. */
+! #include <unistring-stdbool.h>
+
+ /* Get size_t. */
+ #include <stddef.h>
diff --git a/gnulib-local/lib/unictype.h.diff b/gnulib-local/lib/unictype.h.diff
new file mode 100644
index 0000000..65d5d53
--- /dev/null
+++ b/gnulib-local/lib/unictype.h.diff
@@ -0,0 +1,19 @@
+*** unictype.h.orig 2009-04-05 19:30:27.000000000 +0200
+--- unictype.h 2009-04-10 16:21:33.000000000 +0200
+***************
+*** 20,26 ****
+ #include "unitypes.h"
+
+ /* Get bool. */
+! #include <stdbool.h>
+
+ /* Get size_t. */
+ #include <stddef.h>
+--- 20,26 ----
+ #include "unitypes.h"
+
+ /* Get bool. */
+! #include <unistring-stdbool.h>
+
+ /* Get size_t. */
+ #include <stddef.h>
diff --git a/gnulib-local/lib/unistr.h.diff b/gnulib-local/lib/unistr.h.diff
new file mode 100644
index 0000000..24c2e94
--- /dev/null
+++ b/gnulib-local/lib/unistr.h.diff
@@ -0,0 +1,19 @@
+*** unistr.h.orig 2009-04-05 19:30:34.000000000 +0200
+--- unistr.h 2009-04-10 16:21:37.000000000 +0200
+***************
+*** 20,26 ****
+ #include "unitypes.h"
+
+ /* Get bool. */
+! #include <stdbool.h>
+
+ /* Get size_t. */
+ #include <stddef.h>
+--- 20,26 ----
+ #include "unitypes.h"
+
+ /* Get bool. */
+! #include <unistring-stdbool.h>
+
+ /* Get size_t. */
+ #include <stddef.h>
diff --git a/gnulib-local/lib/unitypes.h.diff b/gnulib-local/lib/unitypes.h.diff
new file mode 100644
index 0000000..f0544dd
--- /dev/null
+++ b/gnulib-local/lib/unitypes.h.diff
@@ -0,0 +1,19 @@
+*** unitypes.h.orig 2009-04-05 19:30:36.000000000 +0200
+--- unitypes.h 2009-04-10 16:22:07.000000000 +0200
+***************
+*** 18,24 ****
+ #define _UNITYPES_H
+
+ /* Get uint8_t, uint16_t, uint32_t. */
+! #include <stdint.h>
+
+ /* Type representing a Unicode character. */
+ typedef uint32_t ucs4_t;
+--- 18,24 ----
+ #define _UNITYPES_H
+
+ /* Get uint8_t, uint16_t, uint32_t. */
+! #include <unistring-stdint.h>
+
+ /* Type representing a Unicode character. */
+ typedef uint32_t ucs4_t;