c-ringbuf
                                
                                 c-ringbuf copied to clipboard
                                
                                    c-ringbuf copied to clipboard
                            
                            
                            
                        Typedef ptrdiff_t to ssize_t under Visual Studio. Fixes #15
ssize_t is a POSIX extension and therefore not available under Visual Studio.
This change defines ptrdiff_t as ssize_t, which is a compatible typedef since ptrdiff_t should always be at least as big as ssize_t
By submitting this PR, you agree to the following:
- [x] This contribution is dedicated to the public domain per the COPYING file included in this distribution. I am waiving any copyright claims with respect to this contribution, and I assert that this contribution is my own creation, and not taken from another work.
Thanks. I'll get to these PRs you've made in the next few days.