Skip to content

Commit

Permalink
Another build fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
gwsw committed Nov 14, 2023
1 parent e98425d commit 9c34d87
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lang.h
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,12 @@ typedef enum lbool { LFALSE, LTRUE } lbool;
#undef FALSE
#define FALSE LFALSE

#ifdef _MSC_VER
#if _WIN64
typedef int ssize_t;
typedef __int64 ssize_t;
#else
typedef __int32 ssize_t;
#endif
#endif

#endif // LESS_LANG_H_

0 comments on commit 9c34d87

Please sign in to comment.