-
Notifications
You must be signed in to change notification settings - Fork 94
/
Copy pathfpcupdefines.inc
52 lines (42 loc) · 972 Bytes
/
fpcupdefines.inc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{.$define FORCELAZBUILD}
{.$define DISABLELAZBUILDJOBS}
{.$define crosssimple}
{$ifdef WINDOWS}
{.$define buildnative}
{$endif WINDOWS}
{$IF (DEFINED(WINDOWS)) OR (DEFINED(LINUX))}
{.$DEFINE USEMORMOT}
{$ENDIF}
{$ifdef LCL}
{$define THREADEDEXECUTE}
{$endif}
{$define ENABLEWGET}
{$define ENABLECURL}
{$define ENABLENATIVE}
{.$define ENABLEEMAIL}
{$ifdef Haiku}
// synaser does not compile under Haiku
{$undef ENABLENATIVE}
{$endif}
{$ifdef OpenBSD}
// synaser does not work under OpenBSD
{$undef ENABLENATIVE}
{$endif}
{$IF DEFINED(MORPHOS) OR DEFINED(AROS)}
// libcurl does not work under AROS and Morphos
{$undef ENABLECURL}
// synaser does not work under AROS and Morphos
{$undef ENABLENATIVE}
{$ENDIF}
{$ifdef Darwin}
// Do not use wget and family under Darwin
{$undef ENABLEWGET}
{$endif}
{$ifdef Windows}
// Do not use wget and family under Windows
{.$undef ENABLEWGET}
{$endif}
{$ifdef libcurlstatic}
{$undef ENABLENATIVE}
{$define USEONLYCURL}
{$endif}