projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e3410c
)
Fix GStatBuf definition for win32 when building against older glib.
author
Michael Smith
<msmith@songbirdnest.com>
Thu, 23 Dec 2010 00:36:09 +0000
(16:36 -0800)
committer
Michael Smith
<msmith@songbirdnest.com>
Thu, 23 Dec 2010 00:36:50 +0000
(16:36 -0800)
Now matches upstream glib definition.
gst/glib-compat-private.h
patch
|
blob
|
history
diff --git
a/gst/glib-compat-private.h
b/gst/glib-compat-private.h
index
5510d00
..
f653ccb
100644
(file)
--- a/
gst/glib-compat-private.h
+++ b/
gst/glib-compat-private.h
@@
-13,9
+13,15
@@
G_BEGIN_DECLS
#if !GLIB_CHECK_VERSION(2,25,0)
+
+#if defined (_MSC_VER) && !defined(_WIN64)
+typedef struct _stat32 GStatBuf;
+#else
typedef struct stat GStatBuf;
#endif
+#endif
+
#if GLIB_CHECK_VERSION(2,26,0)
#define GLIB_HAS_GDATETIME
#endif