diff --git a/tests/test/cg/tprintf.pp b/tests/test/cg/tprintf.pp index 2084cbe4d6..90c1a81af6 100644 --- a/tests/test/cg/tprintf.pp +++ b/tests/test/cg/tprintf.pp @@ -4,7 +4,7 @@ {$mode objfpc} uses - strings; + strings, ctypes; {$ifdef FPC_HAS_TYPE_EXTENDED} {$define TEST_EXTENDED} @@ -54,7 +54,7 @@ const s2 : pchar = 'next'; si : single = 32.12; d : double = 45.45; - e : extended = 74.74; + e : clongdouble = 74.74; p : pchar = nil; has_errors : boolean = false; diff --git a/tests/test/cg/tprintf2.pp b/tests/test/cg/tprintf2.pp index 255c768f17..a788ddb5c6 100644 --- a/tests/test/cg/tprintf2.pp +++ b/tests/test/cg/tprintf2.pp @@ -4,7 +4,7 @@ {$mode objfpc} uses - strings; + strings, ctypes; {$ifdef FPC_HAS_TYPE_EXTENDED} {$define TEST_EXTENDED} @@ -54,7 +54,7 @@ const s2 : pchar = 'next'; si : single = 32.12; d : double = 45.45; - e : extended = 74.74; + e : clongdouble = 74.74; p : pchar = nil; has_errors : boolean = false; diff --git a/tests/test/cg/tprintf3.pp b/tests/test/cg/tprintf3.pp index d522465890..15ceed26fc 100644 --- a/tests/test/cg/tprintf3.pp +++ b/tests/test/cg/tprintf3.pp @@ -5,7 +5,7 @@ {$mode macpas} uses - strings, uprintf3; + strings, uprintf3, ctypes; {$ifdef FPC_HAS_TYPE_EXTENDED} {$define TEST_EXTENDED} @@ -39,7 +39,7 @@ const s2 : pchar = 'next'; si : single = 32.12; d : double = 45.45; - e : extended = 74.74; + e : clongdouble = 74.74; p : pchar = nil; has_errors : boolean = false;