From 566d33d6be83884239cce7df0655e60ec00bd836 Mon Sep 17 00:00:00 2001 From: ruki Date: Wed, 16 Mar 2016 10:41:57 +0800 Subject: load project --- xmake/core/platform/compiler.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'xmake/core/platform/compiler.lua') diff --git a/xmake/core/platform/compiler.lua b/xmake/core/platform/compiler.lua index 04932dda2..96171003b 100644 --- a/xmake/core/platform/compiler.lua +++ b/xmake/core/platform/compiler.lua @@ -465,7 +465,7 @@ function compiler.check_include(opt, include, srcpath, objpath) assert(opt and srcpath and objpath) -- open the checking source file - local srcfile = io.openmk(srcpath) + local srcfile = io.open(srcpath, "w") if not srcfile then return end -- make include @@ -497,7 +497,7 @@ function compiler.check_function(opt, interface, srcpath, objpath) assert(opt and interface) -- open the checking source file - local srcfile = io.openmk(srcpath) + local srcfile = io.open(srcpath, "w") if not srcfile then return end -- get the compiler @@ -541,7 +541,7 @@ function compiler.check_typedef(opt, typedef, srcpath, objpath) assert(opt and typedef) -- open the checking source file - local srcfile = io.openmk(srcpath) + local srcfile = io.open(srcpath, "w") if not srcfile then return end -- get the compiler -- cgit v1.3.1