/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. * * This file incorporates work covered by the following license notice: * * Licensed to the Apache Software Foundation (ASF) under one or more * contributor license agreements. See the NOTICE file distributed * with this work for additional information regarding copyright * ownership. The ASF licenses this file to you under the Apache * License, Version 2.0 (the "License"); you may not use this file * except in compliance with the License. You may obtain a copy of * the License at http://www.apache.org/licenses/LICENSE-2.0 . */ /* not protected, do only include once! */ #if defined(_WIN32) #define Folder WIN_Folder #define GradientStyle_RECT WIN_GradientStyle_RECT #ifndef IN #define IN #endif #ifndef OUT #define OUT #endif #if !defined STRICT #define STRICT #endif #define WIN32_LEAN_AND_MEAN #include #include #include #include #include // For some old versions of the Windows SDK, at least GidplusTypes.h (as indirectly included from // gdiplus.h, which in turn we often include from between these prewin.h/postwin.h wrappers) expects // pre-existing min and max. That is true for e.g. // C:/Program Files (x86)/Windows Kits/10/Include/10.0.19041.0/um/GdiplusTypes.h, but not for e.g. // C:/Program Files (x86)/Windows Kits/10/Include/10.0.22000.0/um/GdiplusTypes.h which explicitly // defines its own GDIPLUS_MIN/MAX macros. The easiest fix appears to be to define min/max here and // to undefine them again in postwin.h, until no supported version of the Windows SDK requires this // hack any longer: #define min(a, b) (((a) < (b)) ? (a) : (b)) #define max(a, b) (((a) > (b)) ? (a) : (b)) #endif /* vim:set shiftwidth=4 softtabstop=4 expandtab: */ /cd-5.3'>distro/collabora/cd-5.3 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
path: root/io
AgeCommit message (Expand)Author
2024-03-06Use less boost_headers in low level librariesGabor Kelemen
2023-12-18unique_ptr->optional in OMarkableInputStreamNoel Grandin
2023-12-18unique_ptr->optional in OPipeImplNoel Grandin
2023-05-27Use getXWeak in ioMike Kaganski
2023-03-14tdf#150135: Fix OTextInputStream to throw runtime exception when uninitializedBaole Fang
2023-02-15Drop 'using namespace ::std' in dirs [e-p]*Gabor Kelemen
2022-11-24loplugin:unusedfields make some fields privateNoel Grandin
2022-09-11no need to allocate MemRingBuffer separately in OMarkableOutputStreamNoel Grandin
2022-06-21io: drop unnecessary castChris Sherlock
2022-06-21clang-tidy modernize-pass-by-value in io..jvmfwkNoel Grandin
2022-05-09URE Library_io should not depend on Library_comphelperStephan Bergmann
2022-05-08osl::Mutex->std::mutex in PumpNoel Grandin
2022-05-08osl::Mutex->std::mutex in OMarkableInputStreamNoel Grandin
2022-05-08osl::Mutex->std::mutex in OMarkableOutputStreamNoel Grandin
2022-05-08osl::Mutex->std::mutex in OAcceptorNoel Grandin
2022-05-04Just use Any ctor instead of makeAny in ioStephan Bergmann
2022-04-12loplugin:stringview more o3tl conversionNoel Grandin
2022-02-25Don't use Library_tl in URE librariesStephan Bergmann
2022-01-27Recheck modules [i-l]* with IWYUGabor Kelemen
2021-12-20osl::Mutex->std::mutex in SocketConnectionNoel Grandin
2021-12-20osl::Mutex->std::mutex in PipeAcceptorNoel Grandin
2021-12-20osl::Mutex->std::mutex in SocketConnectionNoel Grandin
2021-12-10Generally determine Rdb content from gb_*_set_componentfile callsStephan Bergmann
2021-10-05drop 'using namespace std' in h* i* j*Julien Nabet
2021-08-06use more comphelper::OInterfaceContainerHelper2Noel Grandin
2021-05-25Add forgotten io/Executable_io-testconnection.mkStephan Bergmann
2021-05-25Resurrect io testconnection executableStephan Bergmann
2021-05-02throw() -> noexcept, part 2/3: Automatic loplugin:noexcept rewriteStephan Bergmann
2021-04-29loplugin:stringadd simplify some *StringBuffer operationsNoel Grandin
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
2021-03-26Drop these definesMike Kaganski
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
2021-02-18loplugin:referencecasting add check for new rtl::Reference operatorNoel
2021-02-11loplugin:refcounting generalise type checkingNoel
2021-01-03tdf#124176 Use pragma once instead of include guardsAlchemist
2020-12-29loplugin:stringviewparam: operator +Stephan Bergmann
2020-11-10tdf#42949 Fix new IWYU warnings in directories [h-r]*Gabor Kelemen
2020-10-22long->tools::Long in hwpfilter..ooxNoel