fanzju / google-glog

Automatically exported from code.google.com/p/google-glog
Other
0 stars 0 forks source link

ssize_t not defined #150

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Checkout svn repository
2. Import project in VS2012
3. Compile

What is the expected output? What do you see instead?
Compiled without errors

What version of the product are you using? On what operating system?
0.3.3, windows8 64 bit

Please provide any additional information below.
ssize_t is not defined. Can be solved by adding

#ifdef OS_WINDOWS
typedef SSIZE_T ssize_t;
#endif

Original issue reported on code.google.com by kikijiki...@gmail.com on 26 Feb 2013 at 7:21

GoogleCodeExporter commented 8 years ago
It seems to be a good solution. I added 

#ifdef OS_WINDOWS
typedef SSIZE_T ssize_t;
#endif

to windows/port.h

Original comment by aje...@gmail.com on 19 Apr 2013 at 7:57