summaryrefslogtreecommitdiff
path: root/fpcsrc/packages/httpd22/examples/define.inc
blob: 693e0474995576231cab2b1dff29e195b40a1b3f (plain)
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
{ **********************************************************************
  Define one of the following versions. Default 2.0 will be taken if none
  is defined  
  **********************************************************************}

{ $define apache1_3}
{ $define apache2_0}
{ $define apache2_2}

{ *********************************************************************
  No need to edit below this line.
  *********************************************************************}

{ *********************************************************************
  The mode must be objfpc on this unit because the unix code uses
  some extensions introduced on Free Pascal
  *********************************************************************}

{$ifdef fpc}
  {$mode objfpc}{$H+}
{$endif}

{$IFNDEF FPC}
  {$DEFINE WINDOWS}
{$ENDIF}

{$IFDEF WIN32}
  {$DEFINE WINDOWS}
{$ENDIF}

{ Set at least one define. Default to 2.0 for now}

{$ifndef apache1_3}
{$ifndef apache2_0}
{$ifndef apache2_2}

{ Default 2.0 }
{$define apache2_0}

{$endif}
{$endif}
{$endif}