diff options
author | Mark Nunberg <mnunberg@users.noreply.github.com> | 2019-04-13 09:16:46 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-13 09:16:46 -0400 |
commit | f5f855c91239706b173e2412cea301f4a3643e2d (patch) | |
tree | 1c54c2f3327c67da17bf718eb9dc353cc168bfda /sds.h | |
parent | 5aa2397f9ec494380774fb9155446f14ebbf3d1f (diff) | |
parent | cdb836d5f845d2bf0fbe58671d073869f41a9936 (diff) |
Merge pull request #658 from jinjiazhang/master
Fix Compile Error On Windows (Visual Studio)
Diffstat (limited to 'sds.h')
-rw-r--r-- | sds.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -34,6 +34,9 @@ #define __SDS_H #define SDS_MAX_PREALLOC (1024*1024) +#ifdef _WIN32 +#define __attribute__(x) +#endif #include <sys/types.h> #include <stdarg.h> |