aboutsummaryrefslogtreecommitdiffstats
path: root/lib/wincompat.h
diff options
context:
space:
mode:
authorJonathan McCrohan <jmccrohan@gmail.com>2015-07-08 23:43:03 +0100
committerJonathan McCrohan <jmccrohan@gmail.com>2015-07-08 23:53:24 +0100
commit6c7ac8dc769435ea0231db550799d73cb479a773 (patch)
treee5de3e6642d6669a17b2afd8341ea5b82655461c /lib/wincompat.h
parent695702e323759d158366d33c24c1ff47141056e9 (diff)
downloadlibconfig-6c7ac8dc769435ea0231db550799d73cb479a773.tar.gz
Imported Upstream version 1.5upstream/1.5
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__