mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-12 20:36:15 +01:00
Merge branch '2560-s-isreg' into 'main'
xdgmime: Add missing S_ISREG definitions for VS2022 Closes #2560 See merge request GNOME/glib!2406
This commit is contained in:
commit
8225637596
@ -45,6 +45,10 @@
|
|||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
|
|
||||||
|
#ifndef S_ISREG
|
||||||
|
#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef struct XdgDirTimeList XdgDirTimeList;
|
typedef struct XdgDirTimeList XdgDirTimeList;
|
||||||
typedef struct XdgCallbackList XdgCallbackList;
|
typedef struct XdgCallbackList XdgCallbackList;
|
||||||
|
|
||||||
|
@ -72,6 +72,10 @@
|
|||||||
#define MAP_FAILED ((void *) -1)
|
#define MAP_FAILED ((void *) -1)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef S_ISREG
|
||||||
|
#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
|
||||||
|
#endif
|
||||||
|
|
||||||
#define MAJOR_VERSION 1
|
#define MAJOR_VERSION 1
|
||||||
#define MINOR_VERSION_MIN 1
|
#define MINOR_VERSION_MIN 1
|
||||||
#define MINOR_VERSION_MAX 2
|
#define MINOR_VERSION_MAX 2
|
||||||
|
Loading…
Reference in New Issue
Block a user