summaryrefslogtreecommitdiff
path: root/binutils/rcparse.y
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2005-02-17 12:59:59 +0000
committerAlan Modra <amodra@gmail.com>2005-02-17 12:59:59 +0000
commit0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00 (patch)
tree5e9a92ab44406413bc187fc6479cb2d5a6e48ae5 /binutils/rcparse.y
parent1808e34136fdb061532afe5ef8d9e28a8fcbc0f8 (diff)
downloadbinutils-gdb-0af6db78f3e1c1d36a2160cbfc35ccb16cb4ce00.tar.gz
* deflex.l (YY_NO_UNPUT): Define.
* rclex.l (YY_NO_UNPUT): Define. * rcparse.y (null_unichar): New static var. (res_null_text): Use it rather than attempting to init from wchar_t. * windres.c: Include assert.h and time.h before getopt.h. Include config.h and unistd.h too.
Diffstat (limited to 'binutils/rcparse.y')
-rw-r--r--binutils/rcparse.y3
1 files changed, 2 insertions, 1 deletions
diff --git a/binutils/rcparse.y b/binutils/rcparse.y
index 98ad3c8b58b..c913022f9af 100644
--- a/binutils/rcparse.y
+++ b/binutils/rcparse.y
@@ -54,10 +54,11 @@ static unsigned long base_style;
static unsigned long default_style;
static unsigned long class;
static struct res_id res_text_field;
+static unichar null_unichar;
/* This is used for COMBOBOX, LISTBOX and EDITTEXT which
do not allow resource 'text' field in control definition. */
-static const struct res_id res_null_text = { 1, {{0, L""}}};
+static const struct res_id res_null_text = { 1, {{0, &null_unichar}}};
%}