Skip to content

Fix MSVC build ("__restrict__" keyword)#236

Merged
sdatkinson merged 1 commit intosdatkinson:mainfrom
mikeoliphant:fix_restrict
Mar 9, 2026
Merged

Fix MSVC build ("__restrict__" keyword)#236
sdatkinson merged 1 commit intosdatkinson:mainfrom
mikeoliphant:fix_restrict

Conversation

@mikeoliphant
Copy link
Contributor

The latest NAM Core doesn't build with Visual Studio because the "restrict" keyword is different ("__restrict").

This fixes things with an MSVC-specific #define.

@mikeoliphant
Copy link
Contributor Author

Resolves #237

Copy link
Owner

@sdatkinson sdatkinson left a comment

Choose a reason for hiding this comment

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

Thanks!

@sdatkinson sdatkinson merged commit b80616c into sdatkinson:main Mar 9, 2026
3 checks passed
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.

2 participants