Skip to content

Commit

Permalink
Merge pull request #7 from gj12/master
Browse files Browse the repository at this point in the history
make shoco compile without error on gcc
  • Loading branch information
Ed-von-Schleck committed Nov 17, 2014
2 parents 8d4a5ab + 3eb57fb commit 3035de7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions shoco.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@

#if defined(_MSC_VER)
#define shoco_restrict __restrict
#elif __GNUC__
#define shoco_restrict __restrict__
#else
#define shoco_restrict restrict
#endif
Expand Down

0 comments on commit 3035de7

Please sign in to comment.