[reflection] Fix MethodInfo.GetBaseDefinition() for open constructed base types.
[mono.git] / mono / io-layer / wapi_glob.h
index 3d77426efd1e06c160e285ec0aa787b1ea83317c..fc9d7ba8870bbac909e2498a5377e3b3b945e0ce 100644 (file)
@@ -39,7 +39,6 @@
 #define        _WAPI_GLOB_H_
 
 #include <glib.h>
-#include <sys/cdefs.h>
 
 struct stat;
 typedef struct {
@@ -49,7 +48,8 @@ typedef struct {
        char **gl_pathv;        /* List of paths matching pattern. */
 } wapi_glob_t;
 
-
+#define WAPI_GLOB_APPEND       0x0001  /* Append to output from previous call. */
+#define WAPI_GLOB_UNIQUE       0x0040  /* When appending only add items that aren't already in the list */
 #define        WAPI_GLOB_NOSPACE       (-1)    /* Malloc call failed. */
 #define        WAPI_GLOB_ABORTED       (-2)    /* Unignored error. */
 #define        WAPI_GLOB_NOMATCH       (-3)    /* No match and WAPI_GLOB_NOCHECK not set. */
@@ -60,9 +60,9 @@ typedef struct {
 #define WAPI_GLOB_IGNORECASE 0x4000    /* Ignore case when matching */
 #define WAPI_GLOB_ABEND        WAPI_GLOB_ABORTED /* backward compatibility */
 
-__BEGIN_DECLS
+G_BEGIN_DECLS
 int    _wapi_glob(GDir *dir, const char *, int, wapi_glob_t *);
 void   _wapi_globfree(wapi_glob_t *);
-__END_DECLS
+G_END_DECLS
 
 #endif /* !_WAPI_GLOB_H_ */