mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 12:39:23 +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
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
{$ifdef unix}
|
{$if defined(UNIX) and not defined(OPENBSD)}
|
||||||
clocale, // needed to initialize default locale settings on Linux.
|
clocale, // needed to initialize default locale settings on Linux.
|
||||||
{$endif}
|
{$endif}
|
||||||
Classes, SysUtils, Controls, LCLType, Graphics, Math, Buttons,
|
Types, Classes, SysUtils, Math,
|
||||||
ExtCtrls, Forms, ComCtrls, Types, LMessages, LazUTF8, LCLIntf,
|
// LCL
|
||||||
LCLProc, Themes, CalControlWrapper;
|
LCLType, LCLIntf, LMessages, Controls, Graphics, Buttons, ExtCtrls, Forms, ComCtrls,
|
||||||
|
Themes,
|
||||||
|
// LazUtils
|
||||||
|
LazUTF8, LazMethodList,
|
||||||
|
// DateTimeCtrls
|
||||||
|
CalControlWrapper;
|
||||||
|
|
||||||
const
|
const
|
||||||
{ We will deal with the NullDate value the special way. It will be especially
|
{ We will deal with the NullDate value the special way. It will be especially
|
||||||
|
@ -15,12 +15,15 @@ interface
|
|||||||
{$I LR_Vers.inc}
|
{$I LR_Vers.inc}
|
||||||
|
|
||||||
uses
|
uses
|
||||||
SysUtils, Math, strutils, DateUtils, {$IFDEF UNIX}CLocale,{$ENDIF}
|
{$if defined(UNIX) and not defined(OPENBSD)}
|
||||||
Classes, TypInfo, MaskUtils, Variants, DB, DOM, XMLWrite, XMLRead, XMLConf,
|
CLocale,
|
||||||
Controls, Forms, Dialogs, Menus, Graphics, LCLProc, LCLType, LCLIntf,
|
{$endif}
|
||||||
Printers, osPrinters,
|
Classes, TypInfo, SysUtils, Math, StrUtils, DateUtils,
|
||||||
|
MaskUtils, Variants, DB, DOM, XMLWrite, XMLRead, XMLConf,
|
||||||
|
// LCL
|
||||||
|
LCLType, LCLIntf, Controls, Forms, Dialogs, Menus, Graphics, Printers,
|
||||||
// LazUtils
|
// LazUtils
|
||||||
LazFileUtils, LazUTF8,
|
LazFileUtils, LazUTF8, LazLoggerBase,
|
||||||
// IDEIntf
|
// IDEIntf
|
||||||
PropEdits,
|
PropEdits,
|
||||||
// LazReport
|
// LazReport
|
||||||
|
@ -50,7 +50,7 @@ uses
|
|||||||
{$IFDEF IDE_MEM_CHECK}
|
{$IFDEF IDE_MEM_CHECK}
|
||||||
MemCheck,
|
MemCheck,
|
||||||
{$ENDIF}
|
{$ENDIF}
|
||||||
{$IF defined(Unix)}
|
{$IF defined(Unix) and not defined(OPENBSD)}
|
||||||
clocale,
|
clocale,
|
||||||
{$IFEND}
|
{$IFEND}
|
||||||
SysUtils,
|
SysUtils,
|
||||||
|
Loading…
Reference in New Issue
Block a user