File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -60,13 +60,14 @@ GDir *
60
60
g_dir_open (const gchar * path , guint flags , GError * * error )
61
61
{
62
62
GDir * dir ;
63
+ gboolean success ;
63
64
64
65
g_return_val_if_fail (path != NULL , NULL );
65
66
g_return_val_if_fail (error == NULL || * error == NULL , NULL );
66
67
67
68
dir = g_new0 (GDir , 1 );
68
69
69
- gboolean success = setup_dir_handle (dir , path , error );
70
+ success = setup_dir_handle (dir , path , error );
70
71
if (!success )
71
72
return NULL ;
72
73
Original file line number Diff line number Diff line change 14
14
#endif
15
15
16
16
#include <stdint.h>
17
+
18
+ #ifndef _MSC_VER // inttypes.h doesn't exist on VS2010
17
19
#include <inttypes.h>
20
+ #endif
18
21
19
22
#include <eglib-config.h>
20
23
#ifndef EGLIB_NO_REMAP
44
47
#define G_END_DECLS
45
48
#endif
46
49
50
+ #if defined(_MSC_VER ) && _MSC_VER < 1900
51
+ #define inline __inline
52
+ #endif
53
+
47
54
G_BEGIN_DECLS
48
55
49
56
/*
You can’t perform that action at this time.
0 commit comments