mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-06 05:58:06 +02:00
Disable CLocale in OpenBSD, it is broken there. Order used units. Issue #39368.
This commit is contained in:
parent
869f59b3f0
commit
8985175dd5
@ -42,12 +42,17 @@ unit DateTimePicker;
|
||||
interface
|
||||
|
||||
uses
|
||||
{$ifdef unix}
|
||||
{$if defined(UNIX) and not defined(OPENBSD)}
|
||||
clocale, // needed to initialize default locale settings on Linux.
|
||||
{$endif}
|
||||
Classes, SysUtils, Controls, LCLType, Graphics, Math, Buttons,
|
||||
ExtCtrls, Forms, ComCtrls, Types, LMessages, LazUTF8, LCLIntf,
|
||||
LCLProc, Themes, CalControlWrapper;
|
||||
Types, Classes, SysUtils, Math,
|
||||
// LCL
|
||||
LCLType, LCLIntf, LMessages, Controls, Graphics, Buttons, ExtCtrls, Forms, ComCtrls,
|
||||
Themes,
|
||||
// LazUtils
|
||||
LazUTF8, LazMethodList,
|
||||
// DateTimeCtrls
|
||||
CalControlWrapper;
|
||||
|
||||
const
|
||||
{ We will deal with the NullDate value the special way. It will be especially
|
||||
|
@ -15,12 +15,15 @@ interface
|
||||
{$I LR_Vers.inc}
|
||||
|
||||
uses
|
||||
SysUtils, Math, strutils, DateUtils, {$IFDEF UNIX}CLocale,{$ENDIF}
|
||||
Classes, TypInfo, MaskUtils, Variants, DB, DOM, XMLWrite, XMLRead, XMLConf,
|
||||
Controls, Forms, Dialogs, Menus, Graphics, LCLProc, LCLType, LCLIntf,
|
||||
Printers, osPrinters,
|
||||
{$if defined(UNIX) and not defined(OPENBSD)}
|
||||
CLocale,
|
||||
{$endif}
|
||||
Classes, TypInfo, SysUtils, Math, StrUtils, DateUtils,
|
||||
MaskUtils, Variants, DB, DOM, XMLWrite, XMLRead, XMLConf,
|
||||
// LCL
|
||||
LCLType, LCLIntf, Controls, Forms, Dialogs, Menus, Graphics, Printers,
|
||||
// LazUtils
|
||||
LazFileUtils, LazUTF8,
|
||||
LazFileUtils, LazUTF8, LazLoggerBase,
|
||||
// IDEIntf
|
||||
PropEdits,
|
||||
// LazReport
|
||||
|
@ -50,7 +50,7 @@ uses
|
||||
{$IFDEF IDE_MEM_CHECK}
|
||||
MemCheck,
|
||||
{$ENDIF}
|
||||
{$IF defined(Unix)}
|
||||
{$IF defined(Unix) and not defined(OPENBSD)}
|
||||
clocale,
|
||||
{$IFEND}
|
||||
SysUtils,
|
||||
|
Loading…
Reference in New Issue
Block a user