* Fake some types when running under FPDOC

git-svn-id: trunk@31034 -
This commit is contained in:
michael 2015-06-13 16:23:56 +00:00
parent ebf465a42b
commit bb7e0f645f

View File

@ -50,6 +50,16 @@
unit math;
interface
{$IFDEF FPDOC_MATH}
{$DEFINE FPC_HAS_TYPE_SINGLE}
{$DEFINE FPC_HAS_TYPE_DOUBLE}
{$DEFINE FPC_HAS_TYPE_EXTENDED}
{$DEFINE FPC_HAS_TYPE_COMP}
Type
Float = MaxFloatType;
{$ENDIF}
{$ifndef FPUNONE}
uses
sysutils;