Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cpuinfo: fix compilation for 32bit Haiku #9065

Merged
merged 1 commit into from Sep 25, 2018

Conversation

alaviss
Copy link
Collaborator

@alaviss alaviss commented Sep 25, 2018

No description provided.

@@ -49,7 +49,8 @@ when defined(haiku):
SystemInfo {.importc: "system_info", bycopy.} = object
cpuCount {.importc: "cpu_count".}: uint32

proc getSystemInfo(info: ptr SystemInfo): int32 {.importc: "get_system_info".}
proc getSystemInfo(info: ptr SystemInfo): int32 {.importc: "get_system_info",
nodecl.}
Copy link
Member

Choose a reason for hiding this comment

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

usually header is much better than just nodecl.

@Araq Araq merged commit 27b6226 into nim-lang:devel Sep 25, 2018
@alaviss alaviss deleted the haiku-32bit-fix branch September 25, 2018 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants