mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-03-29 17:18:57 +08:00
fix RM-304
http://hipbyte.myjetbrains.com/youtrack/issue/RM-304 if stub codes are not generated for 64 bit, it should share 32 bit stub codes.
This commit is contained in:
@@ -234,9 +234,9 @@ def generate_bs_static_stub(file, includes)
|
||||
end
|
||||
|
||||
if code32
|
||||
text << "\n#if !defined(__LP64__)\n"
|
||||
text << "\n#if !defined(__LP64__)\n" if code64
|
||||
text << code32
|
||||
text << "\n#endif\n"
|
||||
text << "\n#endif\n" if code64
|
||||
end
|
||||
|
||||
did_something = true
|
||||
|
||||
Reference in New Issue
Block a user