Salome HOME
c2d7cec2380939fba4b1a4a174c1a7bc755500ef
[modules/hydro.git] / src / HYDROGUI / HYDROGUI.h
1
2 #ifndef HYDROGUI_H
3 #define HYDROGUI_H
4
5 #if defined HYDROGUI_EXPORTS
6 #if defined WNT
7 #define HYDRO_EXPORT   __declspec( dllexport )
8 #else
9 #define HYDRO_EXPORT
10 #endif
11 #else
12 #if defined WNT
13 #define HYDRO_EXPORT   __declspec( dllimport )
14 #else
15 #define HYDRO_EXPORT
16 #endif
17 #endif
18
19 #ifdef WNT
20 #pragma warning ( disable: 4251 )
21 #pragma warning ( disable: 4267 )
22 #pragma warning ( disable: 4311 )
23 #pragma warning ( disable: 4312 )
24 #endif
25
26 #if defined ( _DEBUG ) || defined ( DEBUG )
27 #include <assert.h>
28 #define HYDRO_VERIFY(x)        (assert(x))
29 #define HYDRO_ASSERT(x)        (assert(x))
30 #else
31 #define HYDRO_VERIFY(x)        (x)
32 #define HYDRO_ASSERT(x)
33 #endif
34
35 #endif
36