aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wincompat.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/wincompat.h')
-rw-r--r--lib/wincompat.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/wincompat.h b/lib/wincompat.h
index 23d7379..30b5619 100644
--- a/lib/wincompat.h
+++ b/lib/wincompat.h
@@ -1,6 +1,6 @@
/* ----------------------------------------------------------------------------
libconfig - A library for processing structured configuration files
- Copyright (C) 2005-2010 Mark A Lindner
+ Copyright (C) 2005-2014 Mark A Lindner
This file is part of libconfig.
@@ -32,6 +32,8 @@
#define WIN32_LEAN_AND_MEAN
#include <windows.h>
+#define fileno _fileno
+#define fstat _fstat
#define snprintf _snprintf
#ifndef __MINGW32__