Skip to content

Commit

Permalink
USER_EXT should be in header
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Aug 28, 2015
1 parent 6f9d4ea commit 88d5b88
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions include/user.hrl
Expand Up @@ -4,11 +4,10 @@
-include("kvs.hrl").

-ifndef(USER_EXT).
-define(USER_EXT, type).
-define(USER_EXT, email).
-endif.

-record(user, {?ITERATOR(feed, true),
email,
-record(user, {?ITERATOR(feed, true), ?USER_EXT,
username,
password,
display_name,
Expand All @@ -22,7 +21,7 @@
date,
status,
zone,
?USER_EXT }).
type }).

-record(user2, {?ITERATOR(feed, true), % version 2
everyting_getting_small,
Expand Down

0 comments on commit 88d5b88

Please sign in to comment.