• R/O
  • HTTP
  • SSH
  • HTTPS

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

POSIX.1 National Language Support API for MinGW


ファイル情報

Rev. e8a4ca7c72694a37645e1013e561569c8dbb322b
サイズ 2,244 バイト
日時 2008-02-16 21:57:19
作者 Keith Marshall
ログメッセージ

MinGW-catgets version 1.0.1 released.
Source update only: correct make install' defect.

内容

#ifndef _NLSPATH_H_
/*
 * nlspath.h.in
 *
 * $Id$
 *
 * Copyright (C) 2006, Keith Marshall
 *
 * This header specifies the `compiled-in' default for NLSPATH.
 *
 * Written by Keith Marshall  <keithmarshall@users.sourceforge.net>
 * Last modification: 02-Nov-2007
 *
 *
 * This is free software.  It is provided AS IS, in the hope that it may
 * be useful, but WITHOUT WARRANTY OF ANY KIND, not even an IMPLIED WARRANTY
 * of MERCHANTABILITY, nor of FITNESS FOR ANY PARTICULAR PURPOSE.
 *
 * Permission is granted to redistribute this software, either "as is" or
 * in modified form, under the terms of the GNU General Public License, as
 * published by the Free Software Foundation; either version 2, or (at your
 * option) any later version.
 *
 * You should have received a copy of the GNU General Public License
 * along with this software; see the file COPYING.  If not, write to the
 * Free Software Foundation, 51 Franklin St - Fifth Floor, Boston,
 * MA 02110-1301, USA.
 *
 */
#define _NLSPATH_H_

#define _prefix_                "@HOST_PREFIX@"
#define _pathsep_               "@PATH_SEPARATOR_INTERNAL@"

#define NLSPATH_SEPARATOR_CHAR  L'@PATH_SEPARATOR_INTERNAL@'

#define APP_NLSPATH_PREFERRED   "/share/locale/%L/%N"
#define APP_NLSPATH_ALTERNATE   "/share/locale/%L/LC_MESSAGES/%N"

#define SYS_NLSPATH_PREFERRED   _prefix_ APP_NLSPATH_PREFERRED
#define SYS_NLSPATH_ALTERNATE   _prefix_ APP_NLSPATH_ALTERNATE

#define mc_MK_NLSPATH(TAG)      TAG##_PREFERRED _pathsep_ TAG##_ALTERNATE

#ifdef  _WIN32
/*
 * On Win32 hosts, we establish a default NLSPATH which will first
 * search in the calling application's installation tree, falling back
 * to a system default, only if that search is unproductive.
 */
#define APP_NLSPATH             mc_MK_NLSPATH( APP_NLSPATH )
#define SYS_NLSPATH             mc_MK_NLSPATH( SYS_NLSPATH )

#define NLSPATH_DEFAULT         APP_NLSPATH _pathsep_ SYS_NLSPATH

#else
/*
 * On non-Win32 hosts, we assume that applications will install their
 * message catalogues into the system path, so here is no need for an
 * application specific local tree search.
 */
#define NLSPATH_DEFAULT         mc_MK_NLSPATH( SYS_NLSPATH )
#endif

#endif /* _NLSPATH_H_: $RCSfile$Revision: 1.1.1.1 $: end of file */