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

platform_define #8

Open
comtihon opened this issue Mar 14, 2017 · 0 comments
Open

platform_define #8

comtihon opened this issue Mar 14, 2017 · 0 comments
Assignees
Labels

Comments

@comtihon
Copy link
Owner

rebar.config:
{erl_opts, [debug_info, warnings_as_errors,
{platform_define, "^[0-9]+", namespaced_types}]}.

src:
-ifdef(namespaced_types).
-type poolboy_queue() :: queue:queue().
-else.
-type poolboy_queue() :: queue().
-endif.

@comtihon comtihon added the bug label Mar 14, 2017
@comtihon comtihon self-assigned this Mar 14, 2017
@comtihon comtihon changed the title namespaced_types platform_define Mar 14, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant