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

fix OSX 32 build #5107

Merged
merged 1 commit into from Sep 22, 2015
Merged

fix OSX 32 build #5107

merged 1 commit into from Sep 22, 2015

Conversation

WalterBright
Copy link
Member

Because it broke again.

@yebblies
Copy link
Member

Are you the only person using OSX32?

@@ -206,7 +206,7 @@ type *type_dyn_array(type *tnext);
extern "C" type *type_static_array(targ_size_t dim, type *tnext);
type *type_assoc_array(type *tkey, type *tvalue);
type *type_delegate(type *tnext);
type *type_function(tym_t tyf, type **ptypes, size_t nparams, bool variadic, type *tret);
extern "C" { type *type_function(tym_t tyf, type **ptypes, size_t nparams, bool variadic, type *tret); }
Copy link
Member

Choose a reason for hiding this comment

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

Don't need braces.

@WalterBright
Copy link
Member Author

Quite possibly. But as I pointed out last time this came up, these changes make it work for any future port that may have a peculiar typedef for size_t.

@yebblies
Copy link
Member

That would be a more important concern if we were planning to keep the backend in C++ long term. At the moment we don't have any officially supported backends that need this and we are unlikely to ever add any.

Anyway, I'll pull this with the braces change.

@WalterBright
Copy link
Member Author

I'll pull this with the braces change.

done.

dnadlinger added a commit that referenced this pull request Sep 22, 2015
@dnadlinger dnadlinger merged commit b6e5152 into dlang:master Sep 22, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants