From 14f96042ebfc6ada048f52d5b014084a3e62a34a Mon Sep 17 00:00:00 2001 From: mattias Date: Thu, 23 May 2013 07:02:07 +0000 Subject: [PATCH] LCL: make sure messages.pp is not compiled on windows git-svn-id: trunk@41364 - --- lcl/nonwin32/messages.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lcl/nonwin32/messages.pp b/lcl/nonwin32/messages.pp index 6b399c7b34..cef0c1468a 100644 --- a/lcl/nonwin32/messages.pp +++ b/lcl/nonwin32/messages.pp @@ -24,6 +24,9 @@ to make porting easy. It is not used by the LCL itself. } +{$ifdef WINDOWS} + {$Error This unit is not for MS Windows. Windows has unit windows for that. } +{$ENDIF} unit Messages;