[glib/glib-2-30] Revert "gmappedfile.c: Define S_IFREG on Win32 when it's not available"
- From: Chun-wei Fan <fanchunwei src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-30] Revert "gmappedfile.c: Define S_IFREG on Win32 when it's not available"
- Date: Fri, 23 Sep 2011 03:26:19 +0000 (UTC)
commit 5ecca0e553b6adba9689a3798706347700436488
Author: Chun-wei Fan <fanchunwei src gnome org>
Date: Thu Sep 22 22:07:30 2011 +0800
Revert "gmappedfile.c: Define S_IFREG on Win32 when it's not available"
This reverts commit 0cccd8d3c82c56285ab55a90aef11d395ba78131.
glib/gmappedfile.c | 4 ----
1 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/glib/gmappedfile.c b/glib/gmappedfile.c
index 2f1fb71..f94bf31 100644
--- a/glib/gmappedfile.c
+++ b/glib/gmappedfile.c
@@ -41,10 +41,6 @@
#define fstat(a,b) _fstati64(a,b)
#define stat _stati64
-#ifndef S_ISREG
-#define S_ISREG(m) (((m) & _S_IFMT) == _S_IFREG)
-#endif
-
#endif
#include "gconvert.h"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]