svn commit: trunk/uClibc/extra/locale
vapier at uclibc.org
vapier at uclibc.org
Wed Aug 23 15:26:47 UTC 2006
Author: vapier
Date: 2006-08-23 08:26:46 -0700 (Wed, 23 Aug 2006)
New Revision: 15921
Log:
fixes from psm so we can pull in uClibc headers properly
Modified:
trunk/uClibc/extra/locale/Makefile.in
trunk/uClibc/extra/locale/gen_wc8bit.c
trunk/uClibc/extra/locale/gen_wctype.c
Changeset:
Modified: trunk/uClibc/extra/locale/Makefile.in
===================================================================
--- trunk/uClibc/extra/locale/Makefile.in 2006-08-23 15:15:47 UTC (rev 15920)
+++ trunk/uClibc/extra/locale/Makefile.in 2006-08-23 15:26:46 UTC (rev 15921)
@@ -10,7 +10,7 @@
LOCALE_DATA_FILENAME := uClibc-locale-030818.tgz
-BUILD_CFLAGS-locale-common := -D__UCLIBC_GEN_LOCALE
+BUILD_CFLAGS-locale-common := -D__UCLIBC_GEN_LOCALE -DUCLIBC_CTYPE_HEADER='"$(top_srcdir)/include/bits/uClibc_ctype.h"'
BUILD_CFLAGS-gen_wc8bit := $(BUILD_CFLAGS-locale-common) -DCTYPE_PACKED=1
Modified: trunk/uClibc/extra/locale/gen_wc8bit.c
===================================================================
--- trunk/uClibc/extra/locale/gen_wc8bit.c 2006-08-23 15:15:47 UTC (rev 15920)
+++ trunk/uClibc/extra/locale/gen_wc8bit.c 2006-08-23 15:26:46 UTC (rev 15921)
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -12,7 +18,7 @@
#ifndef _WCTYPE_H
#define _WCTYPE_H
#endif
-#include <bits/uClibc_ctype.h>
+#include UCLIBC_CTYPE_HEADER
/* #define CTYPE_PACKED */
Modified: trunk/uClibc/extra/locale/gen_wctype.c
===================================================================
--- trunk/uClibc/extra/locale/gen_wctype.c 2006-08-23 15:15:47 UTC (rev 15920)
+++ trunk/uClibc/extra/locale/gen_wctype.c 2006-08-23 15:26:46 UTC (rev 15921)
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2000-2006 Erik Andersen <andersen at uclibc.org>
+ *
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
+ */
+#define _GNU_SOURCE
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -14,7 +20,7 @@
#ifndef _WCTYPE_H
#define _WCTYPE_H
#endif
-#include <bits/uClibc_ctype.h>
+#include UCLIBC_CTYPE_HEADER
/* 0x9 : space blank */
/* 0xa : space */
More information about the uClibc-cvs
mailing list