synachar.pas - fix WIN32 vs. MSWINDOWS compiler defines
git-svn-id: https://svn.code.sf.net/p/synalist/code/trunk@162 7c85be65-684b-0410-a082-b2ed4fbef004
This commit is contained in:
parent
7d2ef0c457
commit
cbc6f6ce1a
17
synachar.pas
17
synachar.pas
@ -1,9 +1,9 @@
|
||||
{==============================================================================|
|
||||
| Project : Ararat Synapse | 005.002.002 |
|
||||
| Project : Ararat Synapse | 005.002.003 |
|
||||
|==============================================================================|
|
||||
| Content: Charset conversion support |
|
||||
|==============================================================================|
|
||||
| Copyright (c)1999-2004, Lukas Gebauer |
|
||||
| Copyright (c)1999-2012, Lukas Gebauer |
|
||||
| All rights reserved. |
|
||||
| |
|
||||
| Redistribution and use in source and binary forms, with or without |
|
||||
@ -33,7 +33,7 @@
|
||||
| DAMAGE. |
|
||||
|==============================================================================|
|
||||
| The Initial Developer of the Original Code is Lukas Gebauer (Czech Republic).|
|
||||
| Portions created by Lukas Gebauer are Copyright (c)2000-2004. |
|
||||
| Portions created by Lukas Gebauer are Copyright (c)2000-2012. |
|
||||
| All Rights Reserved. |
|
||||
|==============================================================================|
|
||||
| Contributor(s): |
|
||||
@ -60,6 +60,13 @@ Internal routines knows all major charsets for Europe or America. For East-Asian
|
||||
{$Q-}
|
||||
{$H+}
|
||||
|
||||
//old Delphi does not have MSWINDOWS define.
|
||||
{$IFDEF WIN32}
|
||||
{$IFNDEF MSWINDOWS}
|
||||
{$DEFINE MSWINDOWS}
|
||||
{$ENDIF}
|
||||
{$ENDIF}
|
||||
|
||||
{$IFDEF UNICODE}
|
||||
{$WARN IMPLICIT_STRING_CAST OFF}
|
||||
{$WARN IMPLICIT_STRING_CAST_LOSS OFF}
|
||||
@ -70,7 +77,7 @@ unit synachar;
|
||||
interface
|
||||
|
||||
uses
|
||||
{$IFNDEF WIN32}
|
||||
{$IFNDEF MSWINDOWS}
|
||||
{$IFNDEF FPC}
|
||||
Libc,
|
||||
{$ELSE}
|
||||
@ -1490,7 +1497,7 @@ begin
|
||||
end;
|
||||
|
||||
{==============================================================================}
|
||||
{$IFNDEF WIN32}
|
||||
{$IFNDEF MSWINDOWS}
|
||||
|
||||
function GetCurCP: TMimeChar;
|
||||
begin
|
||||
|
Loading…
x
Reference in New Issue
Block a user