Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 14 additions & 1 deletion Tier1/premake5.lua
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,22 @@ if os.is "windows" then
links { "Ws2_32", "Rpcrt4" }
files "../src/tier1/processor_detect.cpp"
else

--[[

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

storing code in a comment when its already revisioned by git

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To some, version control is a hard concept, ok?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ur a version control

on a side note ur mom!!

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

pls
pls
👍

💯-

local function _WRAP(name)
buildoptions("-Xlinker --wrap="..name)
end

_WRAP("fopen") _WRAP("freopen") _WRAP("open") _WRAP("creat") _WRAP("access") _WRAP("__xstat")
_WRAP("stat") _WRAP("lstat") _WRAP("fopen64") _WRAP("open64") _WRAP("opendir") _WRAP("__lxstat")
_WRAP("chmod") _WRAP("chown") _WRAP("lchown") _WRAP("symlink") _WRAP("link") _WRAP("__lxstat64")
_WRAP("mknod") _WRAP("utimes") _WRAP("unlink") _WRAP("rename") _WRAP("utime") _WRAP("__xstat64")
_WRAP("mount") _WRAP("mkfifo") _WRAP("mkdir") _WRAP("rmdir") _WRAP("scandir") _WRAP("realpath")
]]--

files {
"../src/tier1/processor_detect_linux.cpp",
"../src/tier1/qsort_s.cpp",
"../src/tier1/pathmatch.cpp"
-- "../src/tier1/pathmatch.cpp"
}
end