Salome HOME
New item (FontItem), allowing to show information about font setting and to select...
[modules/gui.git] / src / SUIT / SUIT.h
1 #ifndef SUIT_H
2 #define SUIT_H
3
4 #if defined SUIT_EXPORTS
5 #if defined WNT
6 #define SUIT_EXPORT __declspec( dllexport )
7 #else
8 #define SUIT_EXPORT
9 #endif
10 #else
11 #if defined WNT
12 #define SUIT_EXPORT __declspec( dllimport )
13 #else
14 #define SUIT_EXPORT
15 #endif
16 #endif
17
18 #if defined SOLARIS
19 #define bool  int
20 #define false 0
21 #define true  1
22 #endif
23
24 #if defined WNT
25 #pragma warning ( disable: 4251 )
26 #endif
27
28 #if defined ( _DEBUG ) || defined ( DEBUG )
29 #include <assert.h>
30 #define SUIT_VERIFY(x) assert( x );
31 #define SUIT_ASSERT(x) assert( x );
32 #else
33 #define SUIT_VERIFY(x) x
34 #define SUIT_ASSERT(x)
35 #endif
36
37 #endif