os/persistentdata/persistentstorage/sqlite3api/TEST/TCL/tcldistribution/mac/tclMacCommonPch.h
author sl
Tue, 10 Jun 2014 14:32:02 +0200
changeset 1 260cb5ec6c19
permissions -rw-r--r--
Update contrib.
     1 /*
     2  * tclMacCommonPch.h --
     3  *
     4  * 	Macintosh Tcl must be compiled with certain compiler options to
     5  *	ensure that it will work correctly. The following pragmas are
     6  *	used to ensure that those options are set correctly. An error
     7  * 	will occur at compile time if they are not set correctly.
     8  *
     9  * Copyright (c) 1998 by Scriptics Corporation.
    10  *
    11  * See the file "license.terms" for information on usage and redistribution
    12  * of this file, and for a DISCLAIMER OF ALL WARRANTIES.
    13  *
    14  * RCS: @(#) $Id: tclMacCommonPch.h,v 1.3 2001/11/23 01:27:24 das Exp $
    15  */
    16 
    17 #if !__option(enumsalwaysint)
    18 #error Tcl requires the Metrowerks setting "Enums always ints".
    19 #endif
    20 
    21 
    22 #if !defined(__POWERPC__)
    23 #if !__option(far_data)
    24 #error Tcl requires the Metrowerks setting "Far data".
    25 #endif
    26 #endif
    27 
    28 
    29 #if !defined(__POWERPC__)
    30 #if !__option(fourbyteints)
    31 #error Tcl requires the Metrowerks setting "4 byte ints".
    32 #endif
    33 #endif
    34 
    35 
    36 #if !defined(__POWERPC__)
    37 #if !__option(IEEEdoubles)
    38 #error Tcl requires the Metrowerks setting "8 byte doubles".
    39 #endif
    40 #endif
    41 
    42 
    43 /*
    44 * The define is used most everywhere to tell Tcl (or any Tcl
    45 * extensions) that we are compiling for the Macintosh platform.
    46 */
    47 
    48 
    49 #define MAC_TCL
    50 
    51 
    52 /*
    53 * Define the following symbol if you want
    54 * comprehensive debugging turned on.
    55 */
    56 
    57 
    58 /* #define TCL_DEBUG */
    59 
    60 
    61 #ifdef TCL_DEBUG
    62 # define TCL_MEM_DEBUG
    63 # define TCL_TEST
    64 #endif
    65 
    66 
    67 /*
    68 * for Metrowerks Pro 6 MSL
    69 */
    70 
    71 #include <UseDLLPrefix.h>