From 64dc9abbc22f6ecce678effffb3728954892ace4 Mon Sep 17 00:00:00 2001
From: pierre <pierre@freepascal.org>
Date: Mon, 28 May 2018 09:01:34 +0000
Subject: [PATCH]  Use small value of MAX_DISP also for i8086 CPU

git-svn-id: trunk@39130 -
---
 tests/test/cg/tsubst.pp | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/tests/test/cg/tsubst.pp b/tests/test/cg/tsubst.pp
index a44e0be2c9..6367dd4793 100644
--- a/tests/test/cg/tsubst.pp
+++ b/tests/test/cg/tsubst.pp
@@ -26,6 +26,12 @@ const
    mode with displacement. (CPU SPECIFIC) }
 
 {$ifdef cpu68k}
+  {$define use_small}
+{endif}
+{$ifdef cpui8086}
+  {$define use_small}
+{endif}
+{$ifdef use_small}
  MAX_DISP = 32767;
 {$else}
  MAX_DISP = 65535;