mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-03 14:28:39 +09:00
Issue #1751 -- Remove XP_MACOSX conditionals and support files from /xpcom
This commit is contained in:
parent
ccf9e5f54b
commit
df94ccb22c
40 changed files with 27 additions and 2812 deletions
|
|
@ -5,44 +5,10 @@
|
|||
|
||||
#include "xpcom-private.h"
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// XP_MACOSX
|
||||
//-----------------------------------------------------------------------------
|
||||
#if defined(XP_MACOSX)
|
||||
|
||||
#include "nsAString.h"
|
||||
#include "nsReadableUtils.h"
|
||||
#include "nsString.h"
|
||||
|
||||
nsresult
|
||||
NS_CopyNativeToUnicode(const nsACString& aInput, nsAString& aOutput)
|
||||
{
|
||||
CopyUTF8toUTF16(aInput, aOutput);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
nsresult
|
||||
NS_CopyUnicodeToNative(const nsAString& aInput, nsACString& aOutput)
|
||||
{
|
||||
CopyUTF16toUTF8(aInput, aOutput);
|
||||
return NS_OK;
|
||||
}
|
||||
|
||||
void
|
||||
NS_StartupNativeCharsetUtils()
|
||||
{
|
||||
}
|
||||
|
||||
void
|
||||
NS_ShutdownNativeCharsetUtils()
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// XP_UNIX
|
||||
//-----------------------------------------------------------------------------
|
||||
#elif defined(XP_UNIX)
|
||||
#if defined(XP_UNIX)
|
||||
|
||||
#include <stdlib.h> // mbtowc, wctomb
|
||||
#include <locale.h> // setlocale
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue