1
by Michael Hanke
Import upstream version 0.20100725.1~dfsg.1 |
1 |
//x86-64 GTK2 crashes with progress bars
|
2 |
//GTK2 crashes with threading
|
|
3 |
||
4 |
||
5 |
{$IFDEF LCLgtk2} |
|
6 |
{$ifndef cpux86_64} |
|
7 |
{$DEFINE SHOWPROG}//SHOWPROG =ShowProgressBar |
|
8 |
{$ENDIF} |
|
9 |
{$ELSE} |
|
10 |
{$DEFINE SHOWPROG}//SHOWPROG =ShowProgressBar |
|
11 |
{$ENDIF} |
|
12 |
{$IFDEF UNIX} //Windows is always threaded |
|
13 |
{$IFDEF LCLgtk2} |
|
14 |
{$DEFINE NoThreads}//NoThreads - single threaded execution |
|
15 |
//GTK2 does not allow threading
|
|
16 |
{$ENDIF} |
|
17 |
{$ENDIF} |
|
18 |