Skip to content

Commit

Permalink
Fix gcc compiler issue
Browse files Browse the repository at this point in the history
  • Loading branch information
oxr463 authored May 6, 2019
1 parent 0bb446e commit 7cc8e9d
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sds.h
Original file line number Diff line number Diff line change
Expand Up @@ -272,3 +272,8 @@ int sdsTest(int argc, char *argv[]);
#endif

#endif

/* GCC: Incorrect warning about empty translation units
* when using pre-compiled headers,
* (See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64502). */
typedef int sdsvoid;

0 comments on commit 7cc8e9d

Please sign in to comment.