From cc0882d8302ef306667d6bc5fe610c9579079c0c Mon Sep 17 00:00:00 2001 From: JPoirier Date: Sun, 7 Jun 2015 23:24:34 -0500 Subject: [PATCH] wrap unistd.h with compile switch --- msvc/picoc/picoc.sln | 8 +++++--- msvc/picoc/picoc.vcxproj | 14 ++++++-------- platform.h | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/msvc/picoc/picoc.sln b/msvc/picoc/picoc.sln index e2be657..e2b35ea 100644 --- a/msvc/picoc/picoc.sln +++ b/msvc/picoc/picoc.sln @@ -1,6 +1,8 @@  Microsoft Visual Studio Solution File, Format Version 12.00 -# Visual Studio 11 +# Visual Studio Express 2013 for Windows Desktop +VisualStudioVersion = 12.0.31101.0 +MinimumVisualStudioVersion = 10.0.40219.1 Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "picoc", "picoc.vcxproj", "{C0156FB3-55AB-4F82-8A97-A776DFC57951}" EndProject Global @@ -9,8 +11,8 @@ Global Release|Win32 = Release|Win32 EndGlobalSection GlobalSection(ProjectConfigurationPlatforms) = postSolution - {C0156FB3-55AB-4F82-8A97-A776DFC57951}.Debug|Win32.ActiveCfg = Debug|Win32 - {C0156FB3-55AB-4F82-8A97-A776DFC57951}.Debug|Win32.Build.0 = Debug|Win32 + {C0156FB3-55AB-4F82-8A97-A776DFC57951}.Debug|Win32.ActiveCfg = Release|Win32 + {C0156FB3-55AB-4F82-8A97-A776DFC57951}.Debug|Win32.Build.0 = Release|Win32 {C0156FB3-55AB-4F82-8A97-A776DFC57951}.Release|Win32.ActiveCfg = Release|Win32 {C0156FB3-55AB-4F82-8A97-A776DFC57951}.Release|Win32.Build.0 = Release|Win32 EndGlobalSection diff --git a/msvc/picoc/picoc.vcxproj b/msvc/picoc/picoc.vcxproj index 63f24a0..9e4dbc7 100644 --- a/msvc/picoc/picoc.vcxproj +++ b/msvc/picoc/picoc.vcxproj @@ -1,5 +1,5 @@  - + Debug @@ -10,9 +10,7 @@ Win32 - - $(VCTargetsPath11) - + {C0156FB3-55AB-4F82-8A97-A776DFC57951} Win32Proj @@ -22,13 +20,13 @@ Application true - v110 + v120 Unicode Application false - v110 + v120 true Unicode @@ -64,14 +62,14 @@ Level3 NotUsing - MaxSpeed + Full true true WIN32;NDEBUG;_CONSOLE;_CRT_SECURE_NO_WARNINGS;%(PreprocessorDefinitions) Console - true + false true true diff --git a/platform.h b/platform.h index ad951b6..6a3420a 100644 --- a/platform.h +++ b/platform.h @@ -38,7 +38,6 @@ #include #include #include -#include #include #include @@ -58,6 +57,7 @@ /* host platform includes */ #ifdef UNIX_HOST # include +# include # ifndef NO_FP # include # define USE_READLINE