00001
00002
00003
00004
00005 #if !defined(_DSSAFX_H__)
00006 #define _DSSAFX_H__
00007
00008 #if _MSC_VER > 1000
00009 #pragma once
00010 #endif // _MSC_VER > 1000
00011
00012
00013 #ifdef __WATCOMC__
00014 #if __WATCOMC__ < 1100
00015 #ifndef BOOL_DEF
00016 enum bool {false = 0, true = 1};
00017 #define BOOL_DEF
00018 #endif
00019 #endif
00020 #endif
00021
00022
00023 #ifdef BUILDING_CCFEModel
00024 #include <afx.h>
00025 #ifdef _DEBUG
00026 #define new DEBUG_NEW
00027 #undef THIS_FILE
00028 static char THIS_FILE[] = __FILE__;
00029 #endif
00030 #endif
00031
00032
00033
00034 #include <math.h>
00035 #include <stdlib.h>
00036 #include <stdio.h>
00037 #include <time.h>
00038 #include <string.h>
00039
00040
00041 #ifndef min
00042 #define min(a,b) ((a)<(b)?(a):(b))
00043 #endif
00044
00045 #ifndef max
00046 #define max(a,b) ((a)>(b)?(a):(b))
00047 #endif
00048
00049 typedef int BOOL;
00050 typedef unsigned char BYTE;
00051 typedef unsigned long ULONG;
00052
00053 #ifndef FALSE
00054 #define FALSE 0
00055 #endif
00056
00057 #ifndef TRUE
00058 #define TRUE 1
00059 #endif
00060
00061 #ifndef PURE
00062 #define PURE =0
00063 #endif//PURE
00064
00065 #ifndef UNREFERENCED_PARAMETER
00066 #define UNREFERENCED_PARAMETER(P) (P)
00067 #endif//UNREFERENCED_PARAMETER
00068
00069 #define EXIT_NOT_IMPLEMENTED printf("Not implemented method called! - exiting"); exit(-1);
00070
00071
00072 #define DSS_NAMESPASE_BEGIN
00073 #define DSS_NAMESPASE_END
00074
00075
00076
00077 #endif // !defined(_DSSAFX_H__)
00078