~ubuntu-branches/debian/lenny/fpc/lenny

« back to all changes in this revision

Viewing changes to fpcsrc/tests/test/cg/uprintf3.pp

  • Committer: Bazaar Package Importer
  • Author(s): Mazen Neifer, Torsten Werner, Mazen Neifer
  • Date: 2008-05-17 17:12:11 UTC
  • mfrom: (3.1.9 intrepid)
  • Revision ID: james.westby@ubuntu.com-20080517171211-9qi33xhd9evfa0kg
Tags: 2.2.0-dfsg1-9
[ Torsten Werner ]
* Add Mazen Neifer to Uploaders field.

[ Mazen Neifer ]
* Moved FPC sources into a version dependent directory from /usr/share/fpcsrc
  to /usr/share/fpcsrc/${FPCVERSION}. This allow installing more than on FPC
  release.
* Fixed far call issue in compiler preventing building huge binearies.
  (closes: #477743)
* Updated building dependencies, recomennded and suggested packages.
* Moved fppkg to fp-utils as it is just a helper tool and is not required by
  compiler.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
unit uprintf3;
 
2
 
 
3
{$mode macpas}
 
4
 
 
5
interface
 
6
 
 
7
{$calling mwpascal}
 
8
 
 
9
{$ifdef WINDOWS}
 
10
const
 
11
{$ifdef wince}
 
12
  CrtLib = 'coredll.dll';
 
13
{$else}
 
14
  CrtLib = 'msvcrt.dll';
 
15
{$endif}
 
16
 
 
17
procedure printf(const formatstr : pchar; ...); external CrtLib name 'printf';
 
18
procedure sprintf(p : pchar;const formatstr : pchar; ...); external CrtLib name 'sprintf';
 
19
const
 
20
  int64prefix='I64';
 
21
{$else}
 
22
{$linklib c}
 
23
{$ifndef darwin}
 
24
procedure printf(const formatstr : pchar; ...); external;
 
25
procedure sprintf(p : pchar;const formatstr : pchar; ...); external;
 
26
{$else darwin}
 
27
procedure printf(const formatstr : pchar; ...); external name '_printf';
 
28
procedure sprintf(p : pchar;const formatstr : pchar; ...); external name '_sprintf';
 
29
{$endif darwin}
 
30
const
 
31
  int64prefix='ll';
 
32
{$endif}
 
33
 
 
34
 
 
35
end.