From cadad7b0aaa902429db6d8ada14cc1aeb488298b Mon Sep 17 00:00:00 2001 From: wp_xxyyzz Date: Wed, 6 Mar 2019 06:11:46 +0000 Subject: [PATCH] LazMapViewer: Fix usage of threads in demo project on Linux/Unix. git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@6828 8e941d3f-bd1b-0410-a28a-d453659cc2b4 --- components/lazmapviewer/example/MapViewer_Demo.lpr | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/lazmapviewer/example/MapViewer_Demo.lpr b/components/lazmapviewer/example/MapViewer_Demo.lpr index 10adfc478..b93b8b0a7 100644 --- a/components/lazmapviewer/example/MapViewer_Demo.lpr +++ b/components/lazmapviewer/example/MapViewer_Demo.lpr @@ -3,9 +3,7 @@ program MapViewer_Demo; {$mode objfpc}{$H+} uses - {$IFDEF UNIX}{$IFDEF UseCThreads} - cthreads, - {$ENDIF}{$ENDIF} + {$IFDEF UNIX}cthreads,{$ENDIF} Interfaces, // this includes the LCL widgetset Forms, Main, gpslistform { you can add units after this };