* include/sys/fcntl.h (_mingw.h): Include.
* include/sys/file.h: Ditto.
* include/sys/param.h: Ditto.
* include/sys/time.h: Ditto.
* include/sys/unistd.h: Ditto.
* include/directx/d3d9.h: Ditto.
* include/directx/d3d9caps.h: Ditto.
* include/directx/d3d9types.h: Ditto.
* include/directx/dxerr8.h: Ditto.
* include/directx/dxerr9.h: Ditto.
* include/gdiplus/gdiplus.h: Ditto.
* include/gdiplus/gdiplusbase.h: Ditto.
* include/gdiplus/gdiplusbrush.h: Ditto.
* include/gdiplus/gdipluscolor.h: Ditto.
* include/gdiplus/gdipluscolormatrix.h: Ditto.
* include/gdiplus/gdipluseffects.h: Ditto.
* include/gdiplus/gdiplusenums.h: Ditto.
* include/gdiplus/gdiplusflat.h: Ditto.
* include/gdiplus/gdiplusgpstubs.h: Ditto.
* include/gdiplus/gdiplusgraphics.h: Ditto.
* include/gdiplus/gdiplusheaders.h: Ditto.
* include/gdiplus/gdiplusimageattributes.h: Ditto.
* include/gdiplus/gdiplusimagecodec.h: Ditto.
* include/gdiplus/gdiplusimaging.h: Ditto.
* include/gdiplus/gdiplusimpl.h: Ditto.
* include/gdiplus/gdiplusinit.h: Ditto.
* include/gdiplus/gdipluslinecaps.h: Ditto.
* include/gdiplus/gdiplusmatrix.h: Ditto.
* include/gdiplus/gdiplusmem.h: Ditto.
* include/gdiplus/gdiplusmetafile.h: Ditto.
* include/gdiplus/gdiplusmetaheader.h: Ditto.
* include/gdiplus/gdipluspath.h: Ditto.
* include/gdiplus/gdipluspen.h: Ditto.
* include/gdiplus/gdipluspixelformats.h: Ditto.
* include/gdiplus/gdiplusstringformat.h: Ditto.
* include/gdiplus/gdiplustypes.h: Ditto.
* include/sys/locking.h (_mingw.h): Remove comment and move to top of
file.
* include/sys/stat.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* include/sys/locking.h (GCC system_header): Add pragma.
* include/sys/param.h: Ditto.
* include/sys/stat.h: Ditto.
* include/sys/time.h: Ditto.
* include/sys/timeb.h: Ditto.
* include/sys/types.h: Ditto.
* include/sys/unistd.h: Ditto.
* include/sys/utime.h: Ditto.
* include/directx/dxerr8.h (UNICODE): Use __AW() macro for mapping
non-specific symbols.
* include/directx/dxerr9.h: Ditto.
* include/sys/timeb.h (__MSVCRT_VERSION__): Remove needless filter.
* include/sys/types.h: Ditto.
* include/sys/utime.h: Ditto.
* include/sys/unistd.h (io.h): Replace with include next unistd.h.
* TODO: Add entries.
+2012-09-19 Earnie Boyd <earnie@users.sourceforge.net>
+
+ Redo the filters based on assumptions discussed in mingw-dvlpr list.
+
+ * include/sys/fcntl.h (_mingw.h): Include.
+ * include/sys/file.h: Ditto.
+ * include/sys/param.h: Ditto.
+ * include/sys/time.h: Ditto.
+ * include/sys/unistd.h: Ditto.
+ * include/directx/d3d9.h: Ditto.
+ * include/directx/d3d9caps.h: Ditto.
+ * include/directx/d3d9types.h: Ditto.
+ * include/directx/dxerr8.h: Ditto.
+ * include/directx/dxerr9.h: Ditto.
+ * include/gdiplus/gdiplus.h: Ditto.
+ * include/gdiplus/gdiplusbase.h: Ditto.
+ * include/gdiplus/gdiplusbrush.h: Ditto.
+ * include/gdiplus/gdipluscolor.h: Ditto.
+ * include/gdiplus/gdipluscolormatrix.h: Ditto.
+ * include/gdiplus/gdipluseffects.h: Ditto.
+ * include/gdiplus/gdiplusenums.h: Ditto.
+ * include/gdiplus/gdiplusflat.h: Ditto.
+ * include/gdiplus/gdiplusgpstubs.h: Ditto.
+ * include/gdiplus/gdiplusgraphics.h: Ditto.
+ * include/gdiplus/gdiplusheaders.h: Ditto.
+ * include/gdiplus/gdiplusimageattributes.h: Ditto.
+ * include/gdiplus/gdiplusimagecodec.h: Ditto.
+ * include/gdiplus/gdiplusimaging.h: Ditto.
+ * include/gdiplus/gdiplusimpl.h: Ditto.
+ * include/gdiplus/gdiplusinit.h: Ditto.
+ * include/gdiplus/gdipluslinecaps.h: Ditto.
+ * include/gdiplus/gdiplusmatrix.h: Ditto.
+ * include/gdiplus/gdiplusmem.h: Ditto.
+ * include/gdiplus/gdiplusmetafile.h: Ditto.
+ * include/gdiplus/gdiplusmetaheader.h: Ditto.
+ * include/gdiplus/gdipluspath.h: Ditto.
+ * include/gdiplus/gdipluspen.h: Ditto.
+ * include/gdiplus/gdipluspixelformats.h: Ditto.
+ * include/gdiplus/gdiplusstringformat.h: Ditto.
+ * include/gdiplus/gdiplustypes.h: Ditto.
+
+ * include/sys/locking.h (_mingw.h): Remove comment and move to top of
+ file.
+ * include/sys/stat.h: Ditto.
+ * include/sys/timeb.h: Ditto.
+ * include/sys/types.h: Ditto.
+ * include/sys/utime.h: Ditto.
+
+ * include/sys/locking.h (GCC system_header): Add pragma.
+ * include/sys/param.h: Ditto.
+ * include/sys/stat.h: Ditto.
+ * include/sys/time.h: Ditto.
+ * include/sys/timeb.h: Ditto.
+ * include/sys/types.h: Ditto.
+ * include/sys/unistd.h: Ditto.
+ * include/sys/utime.h: Ditto.
+
+ * include/directx/dxerr8.h (UNICODE): Use __AW() macro for mapping
+ non-specific symbols.
+ * include/directx/dxerr9.h: Ditto.
+
+ * include/sys/timeb.h (__MSVCRT_VERSION__): Remove needless filter.
+ * include/sys/types.h: Ditto.
+ * include/sys/utime.h: Ditto.
+
+ * include/sys/unistd.h (io.h): Replace with include next unistd.h.
+
+ * TODO: Add entries.
+
2012-09-18 Earnie Boyd <earnie@users.sourceforge.net>
Redo the filters based on assumptions discussed in mingw-dvlpr list.
** winuser.h: __W32API_USE_DLLIMPORT__
** ws2tcpip.h: GetNameInfoW - Add declaration.
** wspiapi.h: Add file.
+** sys/timeb.h - _USE_32BIT_TIME_T
+** sys/types.h - _USE_32BIT_TIME_T
+** sys/utime.h - _USE_32BIT_TIME_T
+** gdiplus/gdiplusenums.h: FIXME
+** gdiplus/gdiplusimpl.h: FIXME
+** gdiplus/gdiplusmetaheader.h: FIXME
+** gdiplus/gdiplustypes.h: FIXME
#ifndef _D3D9_H
#define _D3D9_H
#pragma GCC system_header
+#include <_mingw.h>
#ifndef DIRECT3D_VERSION
#define DIRECT3D_VERSION 0x0900
#ifdef __cplusplus
extern "C" {
#endif
+
extern const GUID IID_IDirect3D9;
extern const GUID IID_IDirect3DDevice9;
extern const GUID IID_IDirect3DVolume9;
extern const GUID IID_IDirect3DPixelShader9;
extern const GUID IID_IDirect3DStateBlock9;
extern const GUID IID_IDirect3DQuery9;
+
#ifdef __cplusplus
};
#endif
extern IDirect3D9* WINAPI Direct3DCreate9(UINT SDKVersion);
#endif
-#endif
+#endif /* (DIRECT3D_VERSION >= 0x0900) */
+
#endif
#ifndef _D3D9_CAPS_H
#define _D3D9_CAPS_H
#pragma GCC system_header
+#include <_mingw.h>
#ifndef DIRECT3D_VERSION
#define DIRECT3D_VERSION 0x0900
DWORD MaxPixelShader30InstructionSlots;
} D3DCAPS9;
-#endif
+#endif /* (DIRECT3D_VERSION >= 0x0900) */
+
#endif
#ifndef _D3D9_TYPES_H
#define _D3D9_TYPES_H
#pragma GCC system_header
+#include <_mingw.h>
#ifndef DIRECT3D_VERSION
#define DIRECT3D_VERSION 0x0900
#include <poppack.h>
-#endif
+#endif /* (DIRECT3D_VERSION >= 0x0900) */
+
#endif
#ifndef _DXERR8_H
#define _DXERR8_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
HRESULT WINAPI DXTraceA(const char*,DWORD,HRESULT,const char*,BOOL);
HRESULT WINAPI DXTraceW(const char*,DWORD,HRESULT,const WCHAR*,BOOL);
-#ifdef UNICODE
-#define DXGetErrorString8 DXGetErrorString8W
-#define DXGetErrorDescription8 DXGetErrorDescription8W
-#define DXTrace DXTraceW
-#else
-#define DXGetErrorString8 DXGetErrorString8A
-#define DXGetErrorDescription8 DXGetErrorDescription8A
-#define DXTrace DXTraceA
-#endif
+#define DXGetErrorString8 __AW(DXGetErrorString8)
+#define DXGetErrorDescription8 __AW(DXGetErrorDescription8)
+#define DXTrace __AW(DXTrace)
#if defined(DEBUG) || defined(_DEBUG)
#define DXTRACE_MSG(str) DXTrace(__FILE__,(DWORD)__LINE__,0,str,FALSE)
#ifdef __cplusplus
}
#endif
+
#endif
#ifndef _DXERR9_H
#define _DXERR9_H
#pragma GCC system_header
+#include <_mingw.h>
#ifdef __cplusplus
extern "C" {
HRESULT WINAPI DXTraceA(const char*,DWORD,HRESULT,const char*,BOOL);
HRESULT WINAPI DXTraceW(const char*,DWORD,HRESULT,const WCHAR*,BOOL);
-#ifdef UNICODE
-#define DXGetErrorString9 DXGetErrorString9W
-#define DXGetErrorDescription9 DXGetErrorDescription9W
-#define DXTrace DXTraceW
-#else
-#define DXGetErrorString9 DXGetErrorString9A
-#define DXGetErrorDescription9 DXGetErrorDescription9A
-#define DXTrace DXTraceA
-#endif
+#define DXGetErrorString9 __AW(DXGetErrorString9)
+#define DXGetErrorDescription9 __AW(DXGetErrorDescription9)
+#define DXTrace __AW(DXTrace)
#if defined(DEBUG) || defined(_DEBUG)
#define DXTRACE_MSG(str) DXTrace(__FILE__,(DWORD)__LINE__,0,str,FALSE)
#ifdef __cplusplus
}
#endif
+
#endif
#ifndef __GDIPLUS_H
#define __GDIPLUS_H
#pragma GCC system_header
+#include <_mingw.h>
#ifndef RC_INVOKED
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_BASE_H
+#define __GDIPLUS_BASE_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ base class
*/
-#ifndef __GDIPLUS_BASE_H
-#define __GDIPLUS_BASE_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusbase.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_BRUSH_H
+#define __GDIPLUS_BRUSH_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ brush classes
*/
-#ifndef __GDIPLUS_BRUSH_H
-#define __GDIPLUS_BRUSH_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusbrush.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_COLOR_H
+#define __GDIPLUS_COLOR_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ color
*/
-#ifndef __GDIPLUS_COLOR_H
-#define __GDIPLUS_COLOR_H
-#pragma GCC system_header
-
typedef enum ColorChannelFlags {
ColorChannelFlagsC = 0,
ColorChannelFlagsM = 1,
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_COLORMATRIX_H
+#define __GDIPLUS_COLORMATRIX_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ color mappings
*/
-#ifndef __GDIPLUS_COLORMATRIX_H
-#define __GDIPLUS_COLORMATRIX_H
-#pragma GCC system_header
-
typedef enum ColorAdjustType {
ColorAdjustTypeDefault = 0,
ColorAdjustTypeBitmap = 1,
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_EFFECTS_H
+#define __GDIPLUS_EFFECTS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ filters and effects
*/
-#ifndef __GDIPLUS_EFFECTS_H
-#define __GDIPLUS_EFFECTS_H
-#pragma GCC system_header
-
typedef enum CurveAdjustments {
AdjustExposure = 0,
AdjustDensity = 1,
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_ENUMS_H
+#define __GDIPLUS_ENUMS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ enumerations
*/
-#ifndef __GDIPLUS_ENUMS_H
-#define __GDIPLUS_ENUMS_H
-#pragma GCC system_header
-
typedef enum BrushType {
BrushTypeSolidColor = 0,
BrushTypeHatchFill = 1,
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_FLAT_H
+#define __GDIPLUS_FLAT_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Flat API
*/
-#ifndef __GDIPLUS_FLAT_H
-#define __GDIPLUS_FLAT_H
-#pragma GCC system_header
-
#ifdef __cplusplus
namespace DllExports {
extern "C" {
GpStatus WINGDIPAPI GdipDrawImagePointsRect(GpGraphics*,GpImage*,GDIPCONST GpPointF*,INT,REAL,REAL,REAL,REAL,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
GpStatus WINGDIPAPI GdipDrawImagePointsRectI(GpGraphics*,GpImage*,GDIPCONST GpPoint*,INT,INT,INT,INT,INT,GpUnit,GDIPCONST GpImageAttributes*,DrawImageAbort,VOID*);
GpStatus WINGDIPAPI GdipDrawImageFX(GpGraphics*,GpImage*,GpRectF*,GpMatrix*,CGpEffect*,GpImageAttributes*,GpUnit);
+
#ifdef __cplusplus
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoint(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST PointF&,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointI(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST Point&,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRect(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST RectF&,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileDestRectI(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST Rect&,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
#endif
+
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPoints(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST PointF*,INT,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileDestPointsI(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST Point*,INT,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
+
#ifdef __cplusplus
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoint(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST PointF&,GDIPCONST RectF&,Unit,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointI(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST Point&,GDIPCONST Rect&,Unit,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPoints(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST PointF*,INT,GDIPCONST RectF&,Unit,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
GpStatus WINGDIPAPI GdipEnumerateMetafileSrcRectDestPointsI(GpGraphics*,GDIPCONST GpMetafile*,GDIPCONST Point*,INT,GDIPCONST Rect&,Unit,EnumerateMetafileProc,VOID*,GDIPCONST GpImageAttributes*);
#endif
+
GpStatus WINGDIPAPI GdipSetClipGraphics(GpGraphics*,GpGraphics*,CombineMode);
GpStatus WINGDIPAPI GdipSetClipRect(GpGraphics*,REAL,REAL,REAL,REAL,CombineMode);
GpStatus WINGDIPAPI GdipSetClipRectI(GpGraphics*,INT,INT,INT,INT,CombineMode);
/* Text functions */
GpStatus WINGDIPAPI GdipDrawString(GpGraphics*,GDIPCONST WCHAR*,INT,GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,GDIPCONST GpBrush*);
GpStatus WINGDIPAPI GdipMeasureString(GpGraphics*,GDIPCONST WCHAR*,INT,GDIPCONST GpFont*,GDIPCONST RectF*,GDIPCONST GpStringFormat*,RectF*,INT*,INT*);
+
#ifdef __cplusplus
GpStatus WINGDIPAPI GdipMeasureCharacterRanges(GpGraphics*,GDIPCONST WCHAR*,INT,GDIPCONST GpFont*,GDIPCONST RectF&,GDIPCONST GpStringFormat*,INT,GpRegion**);
#endif
+
GpStatus WINGDIPAPI GdipDrawDriverString(GpGraphics*,GDIPCONST UINT16*,INT,GDIPCONST GpFont*,GDIPCONST GpBrush*,GDIPCONST PointF*,INT,GDIPCONST GpMatrix*);
GpStatus WINGDIPAPI GdipMeasureDriverString(GpGraphics*,GDIPCONST UINT16*,INT,GDIPCONST GpFont*,GDIPCONST PointF*,INT,GDIPCONST GpMatrix*,RectF*);
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_GPSTUBS_H
+#define __GDIPLUS_GPSTUBS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Gp* type declarations
*/
-#ifndef __GDIPLUS_GPSTUBS_H
-#define __GDIPLUS_GPSTUBS_H
-#pragma GCC system_header
-
typedef Point GpPoint;
typedef PointF GpPointF;
typedef Rect GpRect;
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_GRAPHICS_H
+#define __GDIPLUS_GRAPHICS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Graphics class
*/
-#ifndef __GDIPLUS_GRAPHICS_H
-#define __GDIPLUS_GRAPHICS_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusgraphics.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_HEADERS_H
+#define __GDIPLUS_HEADERS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Bitmap, CachedBitmap, CustomLineCap, Font, FontCollection,
* Implementation of these classes is in gdiplusimpl.h.
*/
-#ifndef __GDIPLUS_HEADERS_H
-#define __GDIPLUS_HEADERS_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusheaders.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_IMAGEATTRIBUTES_H
+#define __GDIPLUS_IMAGEATTRIBUTES_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ ImageAttributes class
*/
-#ifndef __GDIPLUS_IMAGEATTRIBUTES_H
-#define __GDIPLUS_IMAGEATTRIBUTES_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusimageattributes.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_IMAGECODEC_H
+#define __GDIPLUS_IMAGECODEC_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ image decoders and encoders
*/
-#ifndef __GDIPLUS_IMAGECODEC_H
-#define __GDIPLUS_IMAGECODEC_H
-#pragma GCC system_header
-
static __inline__ GpStatus GetImageDecoders(UINT numDecoders, UINT size,
ImageCodecInfo *decoders)
{
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_IMAGING_H
+#define __GDIPLUS_IMAGING_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Imaging and image metadata
*/
-#ifndef __GDIPLUS_IMAGING_H
-#define __GDIPLUS_IMAGING_H
-#pragma GCC system_header
-
typedef enum ImageCodecFlags {
ImageCodecFlagsEncoder = 0x00000001,
ImageCodecFlagsDecoder = 0x00000002,
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_IMPL_H
+#define __GDIPLUS_IMPL_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Bitmap, CachedBitmap, CustomLineCap, Font, FontCollection, FontFamily,
* implementation. Definitions of these classes are in gdiplusheaders.h.
*/
-#ifndef __GDIPLUS_IMPL_H
-#define __GDIPLUS_IMPL_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusimpl.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_INIT_H
+#define __GDIPLUS_INIT_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Initialization
*/
-#ifndef __GDIPLUS_INIT_H
-#define __GDIPLUS_INIT_H
-#pragma GCC system_header
-
typedef struct GdiplusStartupInput {
UINT32 GdiplusVersion;
DebugEventProc DebugEventCallback;
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_LINECAPS_H
+#define __GDIPLUS_LINECAPS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ AdjustableArrowCap class
*/
-#ifndef __GDIPLUS_LINECAPS_H
-#define __GDIPLUS_LINECAPS_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdipluslinecaps.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_MATRIX_H
+#define __GDIPLUS_MATRIX_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Matrix class
*/
-#ifndef __GDIPLUS_MATRIX_H
-#define __GDIPLUS_MATRIX_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusmatrix.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_MEM_H
+#define __GDIPLUS_MEM_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ memory allocation
*/
-#ifndef __GDIPLUS_MEM_H
-#define __GDIPLUS_MEM_H
-#pragma GCC system_header
-
#ifdef __cplusplus
namespace DllExports {
extern "C" {
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_METAFILE_H
+#define __GDIPLUS_METAFILE_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Metafile class
*/
-#ifndef __GDIPLUS_METAFILE_H
-#define __GDIPLUS_METAFILE_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusmetafile.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
-
-/*
- * GDI+ metafile header structure
- */
-
#ifndef __GDIPLUS_METAHEADER_H
#define __GDIPLUS_METAHEADER_H
#pragma GCC system_header
+#include <_mingw.h>
+/*
+ * GDI+ metafile header structure
+ */
/*
* FIXME: is 1 the correct value for GDIP_EMFPLUSFLAGS_DISPLAY? This number
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_PATH_H
+#define __GDIPLUS_PATH_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ GraphicsPath class
*/
-#ifndef __GDIPLUS_PATH_H
-#define __GDIPLUS_PATH_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdipluspath.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_PEN_H
+#define __GDIPLUS_PEN_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ Pen class
*/
-#ifndef __GDIPLUS_PEN_H
-#define __GDIPLUS_PEN_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdipluspen.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_PIXELFORMATS_H
+#define __GDIPLUS_PIXELFORMATS_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ pixel formats
*/
-#ifndef __GDIPLUS_PIXELFORMATS_H
-#define __GDIPLUS_PIXELFORMATS_H
-#pragma GCC system_header
-
typedef DWORD ARGB;
typedef INT PixelFormat;
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_STRINGFORMAT_H
+#define __GDIPLUS_STRINGFORMAT_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ StringFormat class
*/
-#ifndef __GDIPLUS_STRINGFORMAT_H
-#define __GDIPLUS_STRINGFORMAT_H
-#pragma GCC system_header
-
#ifndef __cplusplus
#error "A C++ compiler is required to include gdiplusstringformat.h."
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#ifndef __GDIPLUS_TYPES_H
+#define __GDIPLUS_TYPES_H
+#pragma GCC system_header
+#include <_mingw.h>
/*
* GDI+ basic type declarations
*/
-#ifndef __GDIPLUS_TYPES_H
-#define __GDIPLUS_TYPES_H
-#pragma GCC system_header
-
#define WINGDIPAPI __stdcall
#define GDIPCONST const
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#include <_mingw.h>
#include <fcntl.h>
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#include <_mingw.h>
#include <fcntl.h>
*/
#ifndef _LOCKING_H_
#define _LOCKING_H_
-
-/* All the headers include this file. */
+#pragma GCC system_header
#include <_mingw.h>
#define _LK_UNLCK 0 /* Unlock */
*/
#ifndef _SYS_PARAM_H
#define _SYS_PARAM_H
+#pragma GCC system_header
+#include <_mingw.h>
#include <sys/types.h>
#include <limits.h>
*/
#ifndef _STAT_H_
#define _STAT_H_
-
-/* All the headers include this file. */
+#pragma GCC system_header
#include <_mingw.h>
#define __need_size_t
*/
#ifndef _SYS_TIME_H_
#define _SYS_TIME_H_
+#pragma GCC system_header
+#include <_mingw.h>
+
#include <time.h>
#ifdef __cplusplus
}
#endif
-
#endif /* _SYS_TIME_H_ */
*/
#ifndef _TIMEB_H_
#define _TIMEB_H_
+#pragma GCC system_header
+#include <_mingw.h>
/*
* Support for the UNIX System V ftime system call.
*/
-/* All the headers include this file. */
-#include <_mingw.h>
#include <sys/types.h>
#ifndef RC_INVOKED
short dstflag;
};
-#if __MSVCRT_VERSION__ >= 0x0800
/*
* TODO: Structure not tested.
*/
short timezone;
short dstflag;
};
-#endif /* __MSVCRT_VERSION__ >= 0x0800 */
#ifndef _NO_OLDNAMES
/*
#endif /* Not _NO_OLDNAMES */
/* This requires newer versions of msvcrt.dll (6.10 or higher). */
-#if __MSVCRT_VERSION__ >= 0x0601
struct __timeb64
{
__time64_t time;
};
_CRTIMP void __cdecl __MINGW_NOTHROW _ftime64 (struct __timeb64*);
-#endif /* __MSVCRT_VERSION__ >= 0x0601 */
-#if __MSVCRT_VERSION__ >= 0x0800
_CRTIMP void __cdecl __MINGW_NOTHROW _ftime32 (struct __timeb32*);
+
#ifndef _USE_32BIT_TIME_T
_CRTALIAS void __cdecl __MINGW_NOTHROW _ftime (struct _timeb* _v) { return(_ftime64 ((struct __timeb64*)_v)); }
#else
+
_CRTALIAS void __cdecl __MINGW_NOTHROW _ftime (struct _timeb* _v) { return(_ftime32 ((struct __timeb32*)_v)); }
#endif
-#endif /* __MSVCRT_VERSION__ >= 0x0800 */
#ifdef __cplusplus
}
*/
#ifndef _TYPES_H_
#define _TYPES_H_
-
-/* All the headers include this file. */
+#pragma GCC system_header
#include <_mingw.h>
#define __need_wchar_t
#ifndef _TIME_T_DEFINED
/* FIXME __STRICT_ANSI__ ! */
-#if __MSVCRT_VERSION__ >= 0x0800
+
#ifndef _USE_32BIT_TIME_T
typedef __time64_t time_t;
#else
+
typedef __time32_t time_t;
#endif /* !_USE_32BIT_TIME_T */
+
#else
typedef __time32_t time_t;
-#endif /* __MSVCRT_VERSION__ >= 0x0800 */
#define _TIME_T_DEFINED
#endif
* FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
* DEALINGS IN THE SOFTWARE.
*/
+#pragma GCC system_header
+#include <_mingw.h>
/*
* unistd.h maps (roughly) to io.h
*/
-#include <io.h>
+#include_next <unistd.h>
*/
#ifndef _UTIME_H_
#define _UTIME_H_
-
-/* All the headers include this file. */
+#pragma GCC system_header
#include <_mingw.h>
#define __need_wchar_t
#define __need_size_t
-#ifndef RC_INVOKED
-#include <stddef.h>
-#endif /* Not RC_INVOKED */
-#include <sys/types.h>
-#ifndef RC_INVOKED
+#include <sys/types.h>
+#ifndef RC_INVOKED
+#include <stddef.h>
/*
* Structure used by _utime function.
*/
time_t actime; /* Access time */
time_t modtime; /* Modification time */
};
-#if __MSVCRT_VERSION__ >= 0x0800
struct __utimbuf32
{
__time32_t actime;
__time32_t modtime;
};
-#endif /* __MSVCRT_VERSION__ >= 0x0800 */
#ifndef _NO_OLDNAMES
extern "C" {
#endif
-#if __MSVCRT_VERSION__ < 0x0800
_CRTIMP int __cdecl __MINGW_NOTHROW _utime (const char*, struct _utimbuf*);
-#endif
#ifndef _NO_OLDNAMES
/* FIXME for __MSVCRT_VERSION__ >= 0x0800 */
_CRTIMP int __cdecl __MINGW_NOTHROW utime (const char*, struct utimbuf*);
#endif /* Not _NO_OLDNAMES */
-#if __MSVCRT_VERSION__ < 0x0800
_CRTIMP int __cdecl __MINGW_NOTHROW _futime (int, struct _utimbuf*);
-#endif
/* The wide character version, only available for MSVCRT versions of the
* C runtime library. */
-#if __MSVCRT_VERSION__ < 0x0800
_CRTIMP int __cdecl __MINGW_NOTHROW _wutime (const wchar_t*, struct _utimbuf*);
-#endif
/* These require newer versions of msvcrt.dll (6.10 or higher). */
-#if __MSVCRT_VERSION__ >= 0x0601
struct __utimbuf64
{
__time64_t actime;
_CRTIMP int __cdecl __MINGW_NOTHROW _utime64 (const char*, struct __utimbuf64*);
_CRTIMP int __cdecl __MINGW_NOTHROW _wutime64 (const wchar_t*, struct __utimbuf64*);
_CRTIMP int __cdecl __MINGW_NOTHROW _futime64 (int, struct __utimbuf64*);
-#endif /* __MSVCRT_VERSION__ >= 0x0601 */
-#if __MSVCRT_VERSION__ >= 0x0800
_CRTIMP int __cdecl __MINGW_NOTHROW _utime32 (const char*, struct __utimbuf32*);
_CRTIMP int __cdecl __MINGW_NOTHROW _wutime32 (const wchar_t*, struct __utimbuf32*);
_CRTIMP int __cdecl __MINGW_NOTHROW _futime32 (int, struct __utimbuf32*);
+
#ifndef _USE_32BIT_TIME_T
_CRTALIAS int __cdecl __MINGW_NOTHROW _utime (const char* _v1, struct _utimbuf* _v2) { return(_utime64 (_v1,(struct __utimbuf64*)_v2)); }
_CRTALIAS int __cdecl __MINGW_NOTHROW _wutime (const wchar_t* _v1, struct _utimbuf* _v2) { return(_wutime64 (_v1,(struct __utimbuf64*)_v2)); }
_CRTALIAS int __cdecl __MINGW_NOTHROW _futime (int _v1, struct _utimbuf* _v2) { return(_futime64 (_v1,(struct __utimbuf64*)_v2)); }
#else
+
_CRTALIAS int __cdecl __MINGW_NOTHROW _utime (const char* _v1, struct _utimbuf* _v2) { return(_utime32 (_v1,(struct __utimbuf32*)_v2)); }
_CRTALIAS int __cdecl __MINGW_NOTHROW _wutime (const wchar_t* _v1, struct _utimbuf* _v2) { return(_wutime32 (_v1,(struct __utimbuf32*)_v2)); }
_CRTALIAS int __cdecl __MINGW_NOTHROW _futime (int _v1, struct _utimbuf* _v2) { return(_futime32 (_v1,(struct __utimbuf32*)_v2)); }
#endif
-#endif /* __MSVCRT_VERSION__ >= 0x0800 */
#ifdef __cplusplus
}