Skip to content

Commit 76a3513

Browse files
authored
Correct pragma once handling in xmake.lua
Fix pragma once replacement in xmake.lua during installation.
1 parent 1e837ad commit 76a3513

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/r/randx/xmake.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ package("randx")
1717
end
1818

1919
on_install(function (package)
20-
io.replace("", [[# pragma once]], [[# pragma once
20+
io.replace("RandX_Cpp17.hpp", [[# pragma once]], [[# pragma once
2121
#if defined(__ANDROID__) && __ANDROID_API__ < 28
2222
# include <unistd.h>
2323
# include <sys/syscall.h>

0 commit comments

Comments
 (0)