Main Page   Modules   Alphabetical List   Data Structures   File List   Data Fields   Globals  

ix_os_type.h

00001 
00053 #if !defined(__IX_OS_TYPE_H__)
00054 #define __IX_OS_TYPE_H__
00055 
00056 
00057 #if defined(__cplusplus)
00058 extern "C"
00059 {
00060 #endif /* end defined(__cplusplus) */
00061 
00065 #define _IX_OS_VXWORKS_     1   /* VxWorks OS */
00066 #define _IX_OS_LINUX_       2   /* Linux OS */
00067 #define _IX_OS_WIN32_       3   /* Windows Win32 OS */
00068 
00069 #if !defined(_IX_OS_TYPE_)
00070 #   if defined(__linux)
00071 #       define _IX_OS_TYPE_ _IX_OS_LINUX_
00072 #   elif defined(__vxworks)
00073 #       define _IX_OS_TYPE_ _IX_OS_VXWORKS_
00074 #   elif defined(WIN32)
00075 #       define _IX_OS_TYPE_ _IX_OS_WIN32_
00076 #   endif 
00077 #endif /* !defined(_IX_OS_TYPE_) */
00078 
00079 
00083 #if !defined(_IX_OS_TYPE_) || \
00084         ((_IX_OS_TYPE_ != _IX_OS_LINUX_) && \
00085         (_IX_OS_TYPE_ != _IX_OS_VXWORKS_) && \
00086         (_IX_OS_TYPE_ != _IX_OS_WIN32_))
00087 #   error You are trying to build on an unsupported OS!
00088 #endif
00089 
00090 
00091 #if defined(__cplusplus)
00092 }
00093 #endif /* end defined(__cplusplus) */
00094 
00095 #endif /* end !defined(__IX_OS_TYPE_H__) */
00096 
Automatically generated from sources. © Intel Corp. 2003