Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members

yytdefs.h

Go to the documentation of this file.
00001 /************************************************************
00002 yytdefs.h
00003 This file can be freely modified for the generation of
00004 custom code.
00005 
00006 Copyright (c) 1999-2001 Bumble-Bee Software Ltd.
00007 ************************************************************/
00008 
00009 #ifdef __cplusplus
00010 extern "C" {
00011 #endif
00012 
00013 /* Microsoft defines */
00014 #ifdef _MSC_VER
00015 
00016 /* version 6.0 compatibility */
00017 #if (_MSC_VER <= 600)
00018 #define __cdecl     _cdecl
00019 #define __far       _far
00020 #define __near      _near
00021 #define __segname   _segname
00022 #endif
00023 
00024 /* structure alignment */
00025 #ifdef _WIN32
00026 /*
00027  * Currently, all MS C compilers for Win32 platforms default to 8 byte
00028  * alignment.
00029  */
00030 #pragma pack(push,8)
00031 #else
00032 #pragma pack(2)
00033 #endif
00034 
00035 /* stream initialisation */
00036 #ifdef _DLL
00037 #define YYNINITSTREAM
00038 #endif
00039 
00040 /* 32/16-bit modifiers */
00041 #ifndef YYCDECL
00042 #define YYCDECL __cdecl
00043 #endif
00044 
00045 /* 16-bit modifiers */
00046 #ifndef _WIN32
00047 #ifndef YYDCDECL
00048 #define YYDCDECL __cdecl
00049 #endif
00050 #ifndef YYNEAR
00051 #define YYNEAR __near
00052 #endif
00053 #ifndef YYNEARFAR
00054 #if defined(M_I86TM) || defined(M_I86SM)
00055 #define YYNEARFAR __near
00056 #else
00057 #define YYNEARFAR __far
00058 #endif
00059 #endif
00060 #ifndef YYBASED_CODE
00061 #if defined(M_I86MM) || defined(M_I86LM) || defined(M_I86HM)
00062 #define YYBASED_CODE __based(__segname("_CODE"))
00063 #endif
00064 #endif
00065 #endif
00066 
00067 /* function prototypes */
00068 #ifndef YYPROTOTYPE
00069 #define YYPROTOTYPE
00070 #endif
00071 
00072 /* qualifiers */
00073 #ifndef YYCONST
00074 #define YYCONST const
00075 #endif
00076 
00077 #endif
00078 
00079 
00080 /* Borland defines */
00081 #ifdef __BORLANDC__
00082 
00083 #if !defined(RC_INVOKED)
00084 
00085 #if defined(__STDC__)
00086 #pragma warn -nak
00087 #endif
00088 
00089 #if (__BORLANDC__) >= 0x0530
00090 #pragma pack(push, 1)
00091 #pragma nopackwarning
00092 #else
00093 #pragma option -a-
00094 #endif  /* (__BORLANDC__) >= 0x0530 */
00095 
00096 #pragma option -a-
00097 
00098 #endif  /* !RC_INVOKED */
00099 
00100 /* stream initialisation */
00101 #ifdef _RTLDLL
00102 #define YYNINITSTREAM
00103 #endif
00104 
00105 /* 32/16-bit modifiers */
00106 #ifndef YYCDECL
00107 #define YYCDECL __cdecl
00108 #endif
00109 #ifndef YYDCDECL
00110 #define YYDCDECL __cdecl
00111 #endif
00112 
00113 /* 16-bit modifiers */
00114 #ifndef __WIN32__
00115 #ifndef YYNEAR
00116 #define YYNEAR __near
00117 #endif
00118 #ifndef YYFAR
00119 #ifdef __DLL__
00120 #define YYFAR __far
00121 #endif
00122 #endif
00123 #ifndef YYNEARFAR
00124 #if defined(__TINY__) || defined(__SMALL__) || defined(__MEDIUM__)
00125 #define YYNEARFAR __near
00126 #else
00127 #define YYNEARFAR __far
00128 #endif
00129 #endif
00130 #endif
00131 
00132 /* function prototypes */
00133 #ifndef YYPROTOTYPE
00134 #define YYPROTOTYPE
00135 #endif
00136 
00137 /* qualifiers */
00138 #ifndef YYCONST
00139 #define YYCONST const
00140 #endif
00141 
00142 #endif
00143 
00144 #ifdef __cplusplus
00145 };
00146 #endif
00147 

Generated on Wed Mar 16 00:10:28 2005 for Dibbler - a portable DHCPv6 by  doxygen 1.3.9.1