<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Daniël Mantione wrote:
<blockquote cite="midPine.LNX.4.61.0602171256240.29750@idefix.wisa.be"
 type="cite">
  <pre wrap="">
Op Fri, 17 Feb 2006, schreef Felipe Monteiro de Carvalho:

  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

I am working on the Windows CE Widgetset for Lazarus. There were some
defines on LCL like this:

{$ifdef win32}
  do something windows specific
{$endif}

But I would like those to be executed for Windows CE also, so we
discovered that WINDOWS is defined for both on 2.1.x. Later we found
out that it isn´t defined on 2.0.2. MSWINDOWS is defined for win32 on
2.0.2 but isn´t defined for WinCE on 2.1.x. So there is no define for
both Win32 and wince that also works on 2.0.2.
    </pre>
  </blockquote>
  <pre wrap=""><!---->
{$ifdef win32}
  {$define windows}
{$endif}

{$ifdef wince}
  {$define windows}
{$endif}

... should solve the problem for the time being.

Daniël</pre>
  <pre wrap="">
  </pre>
</blockquote>
this could not work ? (i think i already use it )<br>
<pre wrap="">{$if defined(win32) or defined(wince)}

{$endif}


</pre>
<blockquote cite="midPine.LNX.4.61.0602171256240.29750@idefix.wisa.be"
 type="cite">
  <pre wrap="">
_______________________________________________
fpc-devel maillist  -  <a class="moz-txt-link-abbreviated" href="mailto:fpc-devel@lists.freepascal.org">fpc-devel@lists.freepascal.org</a>
<a class="moz-txt-link-freetext" href="http://lists.freepascal.org/mailman/listinfo/fpc-devel">http://lists.freepascal.org/mailman/listinfo/fpc-devel</a>
  </pre>
</blockquote>
<br>
</body>
</html>