1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-06-15 16:22:09 +00:00
serenity/Ports/ruby/patches/0002-Remove-locale-defines.patch

29 lines
778 B
Diff

From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Eric Seifert <seiferteric@gmail.com>
Date: Tue, 21 Sep 2021 23:09:21 -0700
Subject: [PATCH] Remove locale defines
Serenity does not have any of that.
---
ext/nkf/nkf-utf8/nkf.h | 8 --------
1 file changed, 8 deletions(-)
diff --git a/ext/nkf/nkf-utf8/nkf.h b/ext/nkf/nkf-utf8/nkf.h
index cd30376..7bafe73 100644
--- a/ext/nkf/nkf-utf8/nkf.h
+++ b/ext/nkf/nkf-utf8/nkf.h
@@ -152,14 +152,6 @@ void setbinmode(FILE *fp)
# ifndef HAVE_LOCALE_H
# define HAVE_LOCALE_H
# endif
-#elif defined(__BIONIC__) /* bionic doesn't have locale */
-#else
-# ifndef HAVE_LANGINFO_H
-# define HAVE_LANGINFO_H
-# endif
-# ifndef HAVE_LOCALE_H
-# define HAVE_LOCALE_H
-# endif
#endif
#ifdef HAVE_LANGINFO_H