File: C:\MATLAB6p5\work\atomicdemo_ert_rtw/atomicdemo_private.h1 /* 2 * atomicdemo_private.h 3 * 4 * Real-Time Workshop code generation for Simulink model "atomicdemo.mdl". 5 * 6 * Model Version : 1.46 7 * Real-Time Workshop file version : 5.0 $Date: 2002/05/30 19:21:33 $ 8 * Real-Time Workshop file generated on : Wed Mar 24 14:33:27 2004 9 * TLC version : 5.0 (Jun 18 2002) 10 * C source code generated on : Wed Mar 24 14:33:27 2004 11 */ 12 13 #ifndef _RTW_HEADER_atomicdemo_private_h_ 14 # define _RTW_HEADER_atomicdemo_private_h_ 15 16 /* Private Macros used by the generated code to access rtModel */ 17 18 #ifndef rtmIsMajorTimeStep 19 # define rtmIsMajorTimeStep(rtm) (1) 20 #endif 21 22 #ifndef rtmIsMinorTimeStep 23 # define rtmIsMinorTimeStep(rtm) (0) 24 #endif 25 26 #ifndef _RTW_COMMON_DEFINES_ 27 # define _RTW_COMMON_DEFINES_ 28 29 #ifndef TRUE 30 # define TRUE (1) 31 #endif 32 #ifndef FALSE 33 # define FALSE (0) 34 #endif 35 #endif /* _RTW_COMMON_DEFINES_ */ 36 37 #ifndef UCHAR_MAX 38 #include <limits.h> 39 #endif 40 41 #if ( UCHAR_MAX != (0xFFU) ) 42 #error Fixed point code was generated for compiler with different sized uchars. 43 #endif 44 45 #if ( SCHAR_MAX != (0x7F) ) 46 #error Fixed point code was generated for compiler with different sized chars. 47 #endif 48 49 #if ( USHRT_MAX != (0xFFFFU) ) 50 #error Fixed point code was generated for compiler with different sized ushorts. 51 #endif 52 53 #if ( SHRT_MAX != (0x7FFF) ) 54 #error Fixed point code was generated for compiler with different sized shorts. 55 #endif 56 57 #if ( UINT_MAX != (0xFFFFFFFFU) ) 58 #error Fixed point code was generated for compiler with different sized uints. 59 #endif 60 61 #if ( INT_MAX != (0x7FFFFFFF) ) 62 #error Fixed point code was generated for compiler with different sized ints. 63 #endif 64 65 #if ( ULONG_MAX != (0xFFFFFFFFU) ) 66 #error Fixed point code was generated for compiler with different sized ulongs. 67 #endif 68 69 #if ( LONG_MAX != (0x7FFFFFFF) ) 70 #error Fixed point code was generated for compiler with different sized longs. 71 #endif 72 73 #endif /* _RTW_HEADER_atomicdemo_private_h_ */ |