ColDefs.h

Go to the documentation of this file.
00001 
00002 //***************************************************************************
00003 //                              ColDefs
00004 //***************************************************************************
00005 //  Copyright (C): Gabriel Zachmann, zach@tu-clausthal.de
00006 //***************************************************************************
00007 
00008 
00021 #ifndef ColDefs_H
00022 #define ColDefs_H
00023 #if defined(__sgi) || defined(_WIN32)
00024 #pragma once
00025 #endif
00026 
00027 //---------------------------------------------------------------------------
00028 //  Includes
00029 //---------------------------------------------------------------------------
00030 
00031 #ifdef _WIN32
00032 #   ifndef __cplusplus
00033 #       define __cplusplus
00034 #   endif
00035 #endif
00036 
00037 #include <stdlib.h>
00038 
00039 
00040 //---------------------------------------------------------------------------
00041 //  Defines
00042 //---------------------------------------------------------------------------
00043 
00044 
00045 #ifdef _WIN32
00046 
00047 #define snprintf    _snprintf
00048 #define vsnprintf   _vsnprintf
00049 #define alloca      _alloca
00050 
00051 #include <iostream>  //because of using namespace std
00052 
00053 #define S_IRUSR     S_IREAD
00054 #define S_IRGRP     S_IREAD
00055 #define S_IWUSR     S_IWRITE
00056 #define S_IROTH     S_IREAD
00057 
00058 #endif
00059 
00060 
00061 //---------------------------------------------------------------------------
00062 //  Functions
00063 //---------------------------------------------------------------------------
00064 
00065 
00066 namespace col {
00067 
00068 } // namespace col
00069 
00070 using namespace std;
00071 
00072 #endif /* ColDefs_H */
00073 

Generated on Tue Oct 16 18:12:21 2007 for CollDet by  doxygen 1.5.2