• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*---------------------------------------------------------------------------*
2  *  setting.h  *
3  *                                                                           *
4  *  Copyright 2007, 2008 Nuance Communciations, Inc.                               *
5  *                                                                           *
6  *  Licensed under the Apache License, Version 2.0 (the 'License');          *
7  *  you may not use this file except in compliance with the License.         *
8  *                                                                           *
9  *  You may obtain a copy of the License at                                  *
10  *      http://www.apache.org/licenses/LICENSE-2.0                           *
11  *                                                                           *
12  *  Unless required by applicable law or agreed to in writing, software      *
13  *  distributed under the License is distributed on an 'AS IS' BASIS,        *
14  *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. *
15  *  See the License for the specific language governing permissions and      *
16  *  limitations under the License.                                           *
17  *                                                                           *
18  *---------------------------------------------------------------------------*/
19 
20 /*  Header file which describes the settings for the compilation
21 */
22 
23 #ifndef _setting_h_
24 #define _setting_h_
25 
26 #ifdef SET_RCSID
27 static const char setting_h[] = "$Id: setting.h,v 1.5.8.4 2007/08/31 17:44:53 dahan Exp $";
28 #endif
29 
30 
31 #include "buildopt.h"
32 
33 /************************************************************************
34  ************************************************************************/
35 
36 /*  For fixed point code, see settings in hmm_type.h
37 **  Also do create more abstract types for preferred data types
38 **  for variables in hmm_type.h
39 */
40 
41 
42 #ifndef _RTT
43 #define REPORT_USAGE 1
44 #endif
45 
46 #define PC_DEMO_NBEST
47 
48 /************************************************************************
49  *  The stuff below should be edited with care
50  ************************************************************************/
51 
52 #if defined(PC_DEMO)
53 
54 #elif defined(PC_DEMO_NBEST)
55 
56 /*  Computational and storage features
57 */
58 #define USE_CPP_MEMORY  1
59 
60 #elif defined(GRAND_UNIX)
61 
62 #elif defined(PSOS)
63 
64 #elif defined(VOYAGER)
65 
66 #elif defined (POSIX)
67 
68 #elif defined(DEVELOPER)
69 
70 #else
71 
72 #endif
73 
74 /************************************************************************
75  ************************************************************************/
76 
77 /* Sanity checking of defines
78 */
79 
80 #endif
81