mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-04 13:13:25 +03:00
0030091: Configuration - allow cross-compilation from Linux (case sensitive filesystem) to x86_64-w64-mingw32
Names of Windows header files are corrected to be lower case to match their actual names on Windows (except Windows.h) and MinGW. Files COMMANDWINDOW.h and MAINWINDOW.h in Draw package are renamed to CamelCase according to names of corresponding CXX files.
This commit is contained in:
@@ -61,7 +61,7 @@ Standard_Boolean OSD::CStringToReal(const Standard_CString aString,
|
||||
//=======================================================================
|
||||
|
||||
#ifdef _WIN32
|
||||
# include <Windows.h>
|
||||
# include <windows.h>
|
||||
# define SLEEP(NSEC) Sleep(1000*(NSEC))
|
||||
#else
|
||||
#include <unistd.h>
|
||||
|
@@ -448,7 +448,7 @@ void OSD_Error::Perror() {
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
#include <windows.h>
|
||||
#include <Strsafe.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
typedef struct _error_table {
|
||||
|
||||
|
@@ -34,7 +34,7 @@
|
||||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
|
||||
#include <Strsafe.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#define ACE_HEADER_SIZE (sizeof(ACCESS_ALLOWED_ACE) - sizeof (DWORD))
|
||||
|
||||
|
@@ -379,7 +379,7 @@ Standard_Integer OSD_FileNode::Error()const{
|
||||
# include <tchar.h>
|
||||
#endif // _INC_TCHAR
|
||||
|
||||
#include <Strsafe.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#define TEST_RAISE( arg ) _test_raise ( fName, ( arg ) )
|
||||
#define RAISE( arg ) throw Standard_ProgramError ( ( arg ) )
|
||||
|
@@ -18,7 +18,7 @@
|
||||
#include <winbase.h>
|
||||
#include <process.h>
|
||||
#include <malloc.h>
|
||||
#include <Psapi.h>
|
||||
#include <psapi.h>
|
||||
#ifdef _MSC_VER
|
||||
#pragma comment(lib, "Psapi.lib")
|
||||
#endif
|
||||
|
@@ -182,7 +182,7 @@ Standard_Integer OSD_Process::Error()const{
|
||||
#include <TCollection_ExtendedString.hxx>
|
||||
|
||||
#include <OSD_WNT.hxx>
|
||||
#include <LMCONS.H> // for UNLEN - maximum user name length GetUserName()
|
||||
#include <lmcons.h> // for UNLEN - maximum user name length GetUserName()
|
||||
|
||||
void _osd_wnt_set_error ( OSD_Error&, OSD_WhoAmI, ... );
|
||||
|
||||
|
@@ -23,7 +23,7 @@
|
||||
/***/
|
||||
#include <OSD_WNT.hxx>
|
||||
|
||||
#include <Strsafe.h>
|
||||
#include <strsafe.h>
|
||||
#include <wchar.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
|
@@ -39,7 +39,7 @@ Standard_Boolean OSD::ToCatchFloatingSignals()
|
||||
#endif
|
||||
#include <windows.h>
|
||||
|
||||
#include <Strsafe.h>
|
||||
#include <strsafe.h>
|
||||
|
||||
#ifndef STATUS_FLOAT_MULTIPLE_FAULTS
|
||||
// <ntstatus.h>
|
||||
|
Reference in New Issue
Block a user