sunpinyin/slm/src/config/solaris.h
author mkaz
Wed, 16 Nov 2011 08:44:50 +0900
changeset 713 28795f5ebcf6
parent 82 6083b918c027
permissions -rw-r--r--
Bug Fix: build error by iconv prototype. 7104417 7103576 (backport of s11u1:712:3ae62904125b)
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
     1
/*
82
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     2
 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     3
 * 
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     4
 * Copyright (c) 2007 Sun Microsystems, Inc. All Rights Reserved.
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     5
 * 
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     6
 * The contents of this file are subject to the terms of either the GNU Lesser
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     7
 * General Public License Version 2.1 only ("LGPL") or the Common Development and
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     8
 * Distribution License ("CDDL")(collectively, the "License"). You may not use this
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
     9
 * file except in compliance with the License. You can obtain a copy of the CDDL at
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    10
 * http://www.opensource.org/licenses/cddl1.php and a copy of the LGPLv2.1 at
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    11
 * http://www.opensource.org/licenses/lgpl-license.php. See the License for the 
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    12
 * specific language governing permissions and limitations under the License. When
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    13
 * distributing the software, include this License Header Notice in each file and
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    14
 * include the full text of the License in the License file as well as the
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    15
 * following notice:
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    16
 * 
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    17
 * NOTICE PURSUANT TO SECTION 9 OF THE COMMON DEVELOPMENT AND DISTRIBUTION LICENSE
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    18
 * (CDDL)
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    19
 * For Covered Software in this distribution, this License shall be governed by the
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    20
 * laws of the State of California (excluding conflict-of-law provisions).
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    21
 * Any litigation relating to this License shall be subject to the jurisdiction of
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    22
 * the Federal Courts of the Northern District of California and the state courts
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    23
 * of the State of California, with venue lying in Santa Clara County, California.
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    24
 * 
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    25
 * Contributor(s):
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    26
 * 
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    27
 * If you wish your version of this file to be governed by only the CDDL or only
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    28
 * the LGPL Version 2.1, indicate your decision by adding "[Contributor]" elects to
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    29
 * include this software in this distribution under the [CDDL or LGPL Version 2.1]
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    30
 * license." If you don't indicate a single choice of license, a recipient has the
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    31
 * option to distribute your version of this file under either the CDDL or the LGPL
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    32
 * Version 2.1, or to extend the choice of license to its licensees as provided
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    33
 * above. However, if you add LGPL Version 2.1 code and therefore, elected the LGPL
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    34
 * Version 2 license, then the option applies only if the new code is made subject
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    35
 * to such option by the copyright holder. 
0
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    36
 */
82
6083b918c027 Modified the headers for the dual-licensing of CDDL and LGPLv2.1.
yongsun@yongmac.local
parents: 0
diff changeset
    37
0
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    38
#ifndef ____HOST_OS_H____
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    39
#define ____HOST_OS_H____
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    40
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    41
#define SOLARIS_OS  1
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    42
713
28795f5ebcf6 Bug Fix: build error by iconv prototype. 7104417 7103576 (backport of s11u1:712:3ae62904125b)
mkaz
parents: 82
diff changeset
    43
typedef char* TIConvSrcPtr;
0
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    44
f420d770e076 re-import sunpinyin sources.
yongsun
parents:
diff changeset
    45
#endif