diff options
| author | Jon A. Cruz <jon@joncruz.org> | 2010-12-21 19:26:53 +0000 |
|---|---|---|
| committer | Jon A. Cruz <jon@joncruz.org> | 2010-12-21 19:26:53 +0000 |
| commit | ed0d3e31f2e6860a20661853c320c2eb8941e41a (patch) | |
| tree | 256edcaf7cfe5ec8e13ca95985c8444e9c636080 /src/widgets/icon.cpp | |
| parent | Indent support for XSLT extensions output. (diff) | |
| download | inkscape-ed0d3e31f2e6860a20661853c320c2eb8941e41a.tar.gz inkscape-ed0d3e31f2e6860a20661853c320c2eb8941e41a.zip | |
Unify stat type for older glib.
(bzr r9972)
Diffstat (limited to 'src/widgets/icon.cpp')
| -rw-r--r-- | src/widgets/icon.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/widgets/icon.cpp b/src/widgets/icon.cpp index bfdf2d3b9..526309727 100644 --- a/src/widgets/icon.cpp +++ b/src/widgets/icon.cpp @@ -35,6 +35,14 @@ #include "icon.h" +// Bring in work-around for Glib versions missing GStatBuf +#if !GLIB_CHECK_VERSION(2,25,0) +#if defined (_MSC_VER) && !defined(_WIN64) +typedef struct _stat32 GStatBuf; +#else //defined (_MSC_VER) && !defined(_WIN64) +typedef struct stat GStatBuf; +#endif //defined (_MSC_VER) && !defined(_WIN64) +#endif //!GLIB_CHECK_VERSION(2,25,0) struct IconImpl { static void classInit(SPIconClass *klass); |
